"bundle install" raises Gem :: RemoteFetcher :: FetchError on each stone

On call

rails new project 

The process progresses until I hit the package installation. In this moment:

 identical vendor/plugins/.gitkeep run bundle install Fetching gem metadata from https://rubygems.org/......... Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=unknown state: sslv3 alert handshake failure (https://d2chzxaqi4y7f8.cloudfront.net/gems/rake-0.9.2.2.gem) An error occured while installing rake (0.9.2.2), and Bundler cannot continue. Make sure that `gem install rake -v '0.9.2.2'` succeeds before bundling. 

I can set the gem manually with gem installation and run the rails again, and the error is repeated for the next gem. I am finishing the manual installation of each individual stone.

I am using a single user rvm 1.13.0.

+7
source share
2 answers

Do you have OpenSSL installed? You do not mention your OS, but on Ubunutu (or other Debian based distributions) you do:

 sudo apt-get install openssl 

Otherwise try http://railsapps.github.com/openssl-certificate-verify-failed.html

+6
source

Try it.

 rvm pkg install openssl rvm reinstall 1.9.2 --with-openssl-dir=$rvm_path/usr 
+5
source

All Articles