From: Robert Dober Date: 2009-04-23T07:37:28+09:00 Subject: Re: Ruby or JRuby On Thu, Apr 23, 2009 at 12:31 AM, Hassan Schroeder wrote: > On Wed, Apr 22, 2009 at 3:19 PM, Robert Dober wrote: > >> BTW I spent a day of installing and reinstalling ruby1.9 and ruby1.8 >> on the same machine and nothing I tried made them coexist without >> *major* shell scripts for switching. > > ?? When I have multiple versions of anything on one system, I just > install each to its own directory, and then have a file with something > like, e.g. file named ~/187 > > export RUBY_HOME=/usr/local/ruby1.8.7 > export PATH=$RUBY_HOME/bin:$PATH > > :: and then I just type '. 187'  -- tickety-boo and bob's yr uncle. > > Never had a problem from using that approach. > > FWIW, > -- > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > > I had absolutely no problem running Ruby this way. The problem I had is with gems. But maybe all those approaches are sound, I am notorious for "forgetting" things, too bad one cannot do Test Driven Installation R -- Si tu veux construire un bateau ... Ne rassemble pas des hommes pour aller chercher du bois, préparer des outils, répartir les tâches, alléger le travail… mais enseigne aux gens la nostalgie de l’infini de la mer. If you want to build a ship, don’t herd people together to collect wood and don’t assign them tasks and work, but rather teach them to long for the endless immensity of the sea. -- Antoine de Saint-Exupéry