Software⏱️ 2 min read📅 2026-05-31
How to Fix: gem eventmachine fatal error: 'openssl/ssl.h' file not found
Gem eventmachine installation issue on El Capitan.
Quick Answer: Try installing the latest version of OpenSSL using Homebrew or by manually downloading and installing it, then try installing eventmachine again with the --with-ssl-dir option.
📋 Table of Contents
To resolve the issue of the "gem eventmachine fatal error: 'openssl/ssl.h' file not found" on El Capitan, follow these steps:
🔧 Proven Troubleshooting Steps
Method 1: Update OpenSSL
- Step 1: Open the Terminal and run the following command to update OpenSSL:
$ sudo gem install openssl -v '1.0.2t'
Method 2: Install Eventmachine with SSL Support
- Step 1: Open the Terminal and run the following command to install eventmachine with SSL support:
$ sudo gem install eventmachine -v '1.0.7' -- --with-ssl-dir=/usr/local/Cellar/openssl/1.0.2t/include/openssl
🎯 Final Words
By following these steps, you should be able to resolve the "gem eventmachine fatal error: 'openssl/ssl.h' file not found" issue on El Capitan.
❓ Frequently Asked Questions
Step 1: Open the Terminal and run the following command to update OpenSSL: $ sudo gem install openssl -v '1.0.2t'
Step 1: Open the Terminal and run the following command to install eventmachine with SSL support: $ sudo gem install eventmachine -v '1.0.7' -- --with-ssl-dir=/usr/local/Cellar/openssl/1.0.2t/include/openssl
By following these steps, you should be able to resolve the "gem eventmachine fatal error: 'openssl/ssl.h' file not found" issue on El Capitan.
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat