This help site has been deprecated. Please send your requests to support@rubygems.org

gem install gets certificate error

Garold Johnson's Avatar

Garold Johnson

16 Nov, 2014 11:51 PM

Windows 7, Ruby 2.0
gem install ice_cube gets:
ERROR: Could not find a valid gem 'ice_cube' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

Any ideas how to get around this or fix it?

  1. 1 Posted by Ingo Tributh on 02 Dec, 2014 04:11 PM

    Ingo Tributh's Avatar

    I have the same problem. I am on Windows 8.1 with Ruby 2.0.0-23. I get:
    >gem install bundler
    ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)

  2. 2 Posted by Luis Lavena on 02 Dec, 2014 10:34 PM

    Luis Lavena's Avatar

    Hello,

    Please use the following guide to workaround the SSL issue:

    https://gist.github.com/luislavena/f064211759ee0f806c88

  3. Luis Lavena closed this discussion on 02 Dec, 2014 10:34 PM.

  4. Ingo Tributh re-opened this discussion on 02 Dec, 2014 11:14 PM

  5. 3 Posted by Ingo Tributh on 02 Dec, 2014 11:14 PM

    Ingo Tributh's Avatar

    Awesome. Thank you so much for your work on this brand new guide!

    On 02.12.2014 23:34, Luis Lavena wrote:

  6. 4 Posted by Wendy on 22 Jan, 2015 03:54 AM

    Wendy's Avatar

    Thank you so much, this worked : )

  7. 5 Posted by Himanshu Shekha... on 05 Feb, 2015 06:59 PM

    Himanshu Shekhar Jha's Avatar

    Superb..It's working fine..My gem version was 2.2.2 once i updated to 2.2.3 as per the documentation..Thanks for the help.

  8. indirect closed this discussion on 05 Feb, 2015 11:05 PM.

Discussions are closed to public comments.
If you need help with RubyGems.org please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac