Created
September 24, 2015 08:27
-
-
Save Averethel/fe9e2e134fd9ebdb121c to your computer and use it in GitHub Desktop.
Fix SSL certificates problem in ruby (OSX + rvm)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In case you ever run on the dreaded | |
# | |
# SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
# | |
# This is how I fixed id | |
rvm requirements # this will install openssl for you to use | |
rvm osx-ssl-certs update all # this will update certificates | |
rvm install <RUBY-VERSION> --disable-binary # disable-binary is important here | |
# it will then rvm use installed version of openssl (not the homebrew one) | |
# if you already have this ruby version installed use reinstall insead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment