Marcus - thanks for your help...

On 07/31/2013 06:00 AM, sto.mar / web.de wrote:
> 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 <del>dead</del> retired.
I'm well aware of this, but it IS the version used in the book, which we 
are urged to use. I will be running the book's code on Ruby 2.0.0 as well.
>
>> 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
Yes, that works. Regrettably, my life offers me irregular periods with 
which to work with Ruby, and in between these periods I forget things. I 
was clearly using the gem install command incorrectly.
>
> ?
>
>> $ 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.
It appears I have been misled by Mr. Google!

Thanks for your help.

Tom