Avinash
Avinash

Reputation: 603

couldn't install gems - Gem not found Exception

os: os x lion

i was not able to install any gems . checked the gem sources http://rubygems.org was in the list. tried using the system gem (ruby 1.8.7) and rvm ruby (1.9.2). For any gem install GemNotFoundException was thrown.

gem install sinatra --no-ri --no-rdoc
ERROR:  Could not find a valid gem 'sinatra' (>= 0) in any repository
ERROR:  Possible alternatives: sinatra
SKYLINE:rubygems-1.8.6 avinash$ gem sources
*** CURRENT SOURCES ***

http://rubygems.org/

Any ideas?

Help would be appreciated.

-Avinash

Upvotes: 1

Views: 1022

Answers (1)

citraL
citraL

Reputation: 1156

Wouldn't be simply that you are not connected to the internet when trying to download the gem ? ... (I had the same, it looks stupid, but it happens ;

Upvotes: 1

Related Questions