I have ruby version 2.1.5 installed on my system.
On running bundle install, I am getting "Could not load OpenSSL. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at http://rvm.io/packages/openssl."
My Gemfile has soures with http only.
On executing "rvm pkg install openssl" : ==> Formulae curl-openssl glib-openssl [email protected] ✔ homebrew/portable-ruby/portable-openssl
There is no [email protected] and openssl
How to degrade to [email protected] from 1.0.
Already tried rvm reinstall 2.1.5 --with-openssl-dir=brew --prefix [email protected]
But it is of no use for me.
macOS has shipped with OpenSSL preinstalled since 2000. You can download a binary distribution of OpenSSL.
In this case, cd into openssl-1.1. 0 (where you built the library), and then do a sudo make uninstall. Follow that with a sudo rm -rf /usr/local/ssl and most cruft should be cleared.
I've seen this issue on rvm project where you can find more detail about this.
This step works for me, we have to wait for some official fix.
The previous solution doesn't work any more, I have succeeded with the following steps:
brew install rbenv/tap/[email protected] ln -sfn /usr/local/Cellar/[email protected]/1.0.2t /usr/local/opt/openssl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With