When calling
rails new project
The process progresses until I hit bundle install. At that point:
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 install the gem manually with gem install and launch rails new again, and the error repeats for the next gem. I end up installing manually every single gem.
I use rvm 1.13.0 single user.
Common Attempts To Resolve Ruby Gem Dependencies Bundler can help to resolve dependencies when working with Ruby gems by allowing you to specify a set of gems in a Gemfile, then issue a single command to install them. Bundler then automatically resolves the dependencies for you.
Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed. Bundler is an exit from dependency hell, and ensures that the gems you need are present in development, staging, and production.
Do you have OpenSSL installed? You don't mention your OS, but on Ubunutu (or other Debian-based distros) you do:
sudo apt-get install openssl
Failing that, try http://railsapps.github.com/openssl-certificate-verify-failed.html
Try this.
rvm pkg install openssl
rvm reinstall 1.9.2 --with-openssl-dir=$rvm_path/usr
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With