From: sto.mar@... Date: 2013-07-31T21:00:53+09:00 Subject: Re: cannot install gems Am 31.07.2013 05:20, schrieb Tom Cloyd: > Environment: Kubuntu Linux 13.4 | rvm 1.21.3 (stable) | ruby 1.8.7 > (2013-06-27 patchlevel 374) [i686-linux] > > I'm following the advice of the authors of /The Rspec Book/, and trying > to recreate the environment (ruby-1.8.7 etc.) in which the book's code > was run. If you absolutely must... but 1.8.7 is dead retired. > I can install gems in my ruby 2.0.0, but not in ruby 1.8.7. Here's an > example of the problem - > > Terminal output: > tomc@LT:/$ gem install rails-3.0.0 ERROR: Could not find a valid gem > 'rails-3.0.0' (>= 0) in any repository ERROR: Possible alternatives: > rails800 tomc@LT:/$ I suspect you would have the same problem with ruby 2.0.0, there is no rails-3.0.0 gem on rubygems.org. Do you mean gem install rails -v 3.0.0 ? > $ ping rubygems.org > PING rubygems.org (54.245.255.174) 56(84) bytes of data. > ^C > --- rubygems.org ping statistics --- > 29 packets transmitted, 0 received, 100% packet loss, time 28222ms Same for me, but the site is running, and I can install gems. Probably they don't allow ping. Regards, Marcus -- GitHub: https://github.com/stomar/ PGP: 0x6B3A101A