Encountered this problem when I tried to install Sinatra:
>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.org/latest_specs.4.8.gz)Solution is to specify the source explicitly and use http instead of https:
>gem install sinatra --source http://rubygems.org/
Thanks! :)
ReplyDeleteEncountered this issue while installing Jekyll. This helped. Thanks!
ReplyDelete