Last Updated: February 25, 2016
·
17.71K
· codemangler

Bypassing SSL certificate checks during gem installation

To skip SSL certificate checks during gem installation (either gem install or bundle install), add this to your .gemrc:

:ssl_verify_mode: 0

Or use only non HTTPS gem sources in your Gemfile. i.e.:

source 'http://rubygems.org'

instead of:

source 'https://rubygems.org'

Read more