Showing posts with label ruby. Show all posts
Showing posts with label ruby. Show all posts

Wednesday, January 4, 2017

RVM and SSL certificates

When on Mac while 'bundle install' or 'bundle update' you get following error:

Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most
likely your system doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect
without using SSL, edit your Gemfile sources and change 'https' to 'http'.



then try to use this
sudo rvm osx-ssl-certs update all