Gem install gets SSH certificate error

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs