0

I've just downloaded Rails Installer (Rails 4.1.8) on my windows machine, and when I try to run bundle install I get the following error:

C:\Sites\BettingSite>bundle install Fetching gem metadata from https://rubygems.org/............ Fetching additional metadata from https://rubygems.org/.. Resolving dependencies...

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake- 10.4.2.gem) An error occurred while installing rake (10.4.2), and Bundler cannot continue. Make sure that 'gem install rake -v '10.4.2'' succeeds before bundling.

I also had an error "DL is deprecated please use fiddle" but I prevented this from appearing by following the second answer down on the following StackOverFlow question: Ruby 2.0.0p0 IRB warning: "DL is deprecated, please use Fiddle"

Can someone please tell me how to solve this error?

Community
  • 1
  • 1
Ben Smith
  • 809
  • 5
  • 21
  • 46

1 Answers1

0

Thanks too @Stephane J's link this has been solved.

The problem was that I needed to change:

source 'https://rubygems.org'

to

source 'http://rubygems.org'

In the Gemfile, as was recommended on this link: bundle install fails with SSL certificate verification error

Community
  • 1
  • 1
Ben Smith
  • 809
  • 5
  • 21
  • 46