Forum: Ruby gem install gets SSH certificate error

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:

>ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]

>gem update --system
Latest version currently installed. Aborting.

>gem install sinatra
ERROR:  Could not find a valid gem 'sinatra' (>= 0), here is why:
          Unable to download data from -
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
certificate verify failed

How do I fix this?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.