Last Updated: February 25, 2016
·
419
· raspo

Fixing ruby ssl certificate error

When trying to run a bundle install, I was getting this error:

Gem::RemoteFetcher::FetchError: SSL_connect ...

This kind of error seems to be common on Mac OS X.

If your running a recent version of rvm this is pretty easy to fix.

First, check the status of the certificates:

rvm osx-ssl-certs status all

Update the certificates:

rvm osx-ssl-certs update all

Check the status again.

rvm osx-ssl-certs status all

It should say that they are all up to date.