9.13.2013

Ruby Gems Issues

Just a list of issues that I want to take note of while using ruby gems.

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/

2 comments: