

To do this:ĭownload the latest certificate, (currently AddTrustExternalCARoot-2048.pem)įind out where to put it: gem which rubygems But it is possible that you do not have the latest public key file for the new certificate. Uninstall update gem: gem uninstall rubygems-update -xĪt this point, you may be OK. Run update gem: update_rubygems -no-ri -no-rdocĬheck that rubygems was updated: rubygems –v
#Rubyinstaller sqlite3 install
Install update gem: gem install –-local full_path_to_the_gem_file Rubygems must first be updated manually.įirst find out what rubygems you have: rubygems –vĭepending on whether you have a 1.8.x, 2.0.x or 2.2.x, you will need to download an update gem, named “rubygems-update-X.Y.Z.gem”, where X.Y.Z is the version you need. Therefore rubygems itself can’t be updated using an older version of rubygems. The rubygems command line tool bundles the reference to the correct certificate. The reason for the problem is switched to a more secure SSL certificate (SHA-2 which use 256bit encryption).
#Rubyinstaller sqlite3 how to
has a guide that not only explains how to fix this problem, but also why so many people are having it: SSL Certificate Update

check for more details and this answer for fix. The Ruby Installer builds for windows are prepared by Luis Lavena and the path to certificates will be showing something like C:/Users/Luis/. (on old systems it might not be available - do not use an old system which does not receive security updates any more) Windows note Make sure to update package ca-certificates. Security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > "$cert_file" Generate certificate: security find-certificate -a -p /Library/Keychains/System.keychain > "$cert_file" Update certificates: rvm osx-ssl-certs update allįind path for certificate: cert_file=$(ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE')

Make sure you use latest rvm: rvm get stable How can I remove this warning/error entirely? WARNING: Unable to pull data from ' ': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ( ) However, I still got the issue above but as a warning: Then, when I tried to install rails again, it was successful. Unable to download data from - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ( )Īfter Googling around, I found that I could use a non-SSL source for rubygems so I ran: sudo gem sources -a When I attempt to install rails 3.2.14 in my gemset, I get the following issue:ĮRROR: Could not find a valid gem 'rails' (= 3.2.14), here is why: I am trying to do the Michael Hartl tutorial.
