Bundle Install Fails on SSL connect for Rake gem

Hello - I’m just getting started with Rails, been a ColdFusion
programmer
for 10+ years. I’m trying to install Rails and get set up on my local
dev
and it mostly worked, except at the very end of the install using
RubyInstaller, I get this message about a particular Gem that can’t be
installed:

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.

Does anyone know how I could fix that error?

I was able to go to the URL and download the gem file directly, but not
sure how to install it so that the Bundle installer will see that it’s
been
put in and finish its installation routine when I run “bundle install”.

Any help would be very much appreciated.

Thanks!
Cindi

Cindi,

  1. did you try this:
    ruby on rails - bundle install fails with SSL certificate verification error - Stack Overflow

  2. Tweet @rubygems_status or @dwradcliffe if you think the problem is on
    their end. (but more likely is that you’re using an old version of
    bundler as explained in the link above)

-Jason

Does anyone know how I could fix that error?


You received this message because you are subscribed to the Google G. “Ruby
on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected]
mailto:[email protected].
To post to this group, send email to [email protected]
mailto:[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/08700e58-3e8d-48e3-82d4-d7f990769411%40googlegroups.com
https://groups.google.com/d/msgid/rubyonrails-talk/08700e58-3e8d-48e3-82d4-d7f990769411%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout
https://groups.google.com/d/optout.


Jason Fleetwood-Boldt
[email protected]

All material © Jason Fleetwood-Boldt 2014. Public conversations may be
turned into blog posts (original poster information will be made
anonymous). Email [email protected] with questions/concerns about
this.

Hi Jason - yes, I did actually search some more on Google and found a
similar post with that same answer:

gem source -r https://rubygems.org/
gem source -a http://rubygems.org/
bundle install

Now it goes through without error.

Thanks!
Cindi

Also… For reference sake of anyone in the future reading this, note
that
I was using RailsInstaller (from www.railsinstaller.org) to set up my
local
dev Rails environment when this happened.

Cindi

I find this to be easier instruction

On Wednesday, 10 December 2014 06:06:23 UTC-6, Cindi wrote:

PLEASE DON’T DO THIS. Downloading and running code from an insecure link
automatically is a short slip’n’slide to being hacked.

If you’re on OS X, check out this post for some troubleshooting steps:
http://mislav.uniqpath.com/2013/07/ruby-openssl/

If you’re on another OS, check into what you need to do to update the CA
cert bundle in the operating system.

The underlying issue is that the OpenSSL library can’t validate the
certificate rubygems.org is sending.

–Matt J.