Skip to content

Instantly share code, notes, and snippets.

@Averethel
Created September 24, 2015 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Averethel/fe9e2e134fd9ebdb121c to your computer and use it in GitHub Desktop.
Save Averethel/fe9e2e134fd9ebdb121c to your computer and use it in GitHub Desktop.
Fix SSL certificates problem in ruby (OSX + rvm)
# 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