Skip to content

Instantly share code, notes, and snippets.

@kovacs
Created March 6, 2017 06:56
Show Gist options
  • Save kovacs/dd2272941752a8de92ef31584aec2d65 to your computer and use it in GitHub Desktop.
Save kovacs/dd2272941752a8de92ef31584aec2d65 to your computer and use it in GitHub Desktop.
Gem SSL problem/solution

I wasn't able to bundle install on a new rails app (https://github.com/RailsApps/rails-stripe-membership-saas) because of a cert update on rubygems.org

Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

The fix for me was the following - http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages

But, I had to make sure to install that update from within the directory of the new app to make sure it applied to the gemset there because it wasn't picking up the update that I'd made to my system rubygems. Once I did that I was good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment