Robert Dober wrote:
> On Wed, Apr 22, 2009 at 10:43 PM, David Masover <ninja / slaphack.com> wrote:
>> On Tuesday 21 April 2009 09:48:47 Robert Dober wrote:
>>> On Tue, Apr 21, 2009 at 4:39 PM, James Herdman <james.herdman / gmail.com>
>>> Installing Ruby1.8 and Ruby1.9 on the same machine is a major pain.
>> It really wasn't, for me. The easiest way is to simply give the executables a
>> suffix -- irb1.9 vs irb. And I don't know that typing "irb1.9" is harder than
>> "jruby --1.9".
> 
> 
> At first I thought it was a brilliant idea, so I did it but gem1.9
> install bombed because it did not find gem, I do not think that I did
> anything stupid.

I've gone the '--program-suffix=19' route, just to play with ruby19, and 
not had a problem, but I've avoided using gem19.

What happens if I do

   gem19 install rake

for example? Well, it overwrites my old rake, and the new rake has a 
hashbang line that invokes ruby19. Kaboom.

Maybe gem install should be aware of things like program-suffix in 
rbconfig, and use them?

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407