开发者

couldn't install gems - Gem not found Exception

开发者 https://www.devze.com 2023-03-24 19:17 出处:网络
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 GemNo

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

精彩评论

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

关注公众号