Forum: Ruby gem install gets SSH certificate error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D55a456792808073276ede0f42a28b8e?d=identicon&s=25 Garold Johnson (dynalt)
on 2014-05-09 21:37
I am trying to install sinatra, on Windows 7 but get the following:

J:\DYNALT\ProgramData
>ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]

J:\DYNALT\ProgramData
>gem update --system
Latest version currently installed. Aborting.

J:\DYNALT\ProgramData
>gem install sinatra
ERROR:  Could not find a valid gem 'sinatra' (>= 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://s3.amazonaws.com/production.s3.rubygems.or...)

How do I fix this?
This topic is locked and can not be replied to.