开发者

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 w开发者_开发问答ould be appreciated.

-Avinash


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 ;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜