From: Joel VanderWerf Date: 2010-02-21T03:38:27+09:00 Subject: Re: Specifying Ruby Version from Command Line Alex DeCaria wrote: > I have two versions of Ruby installed (1.8 and 1.9). When starting a > Ruby script from the command window, how do I specify which version of > Ruby I want to use? I'm assuming there is some option for this that I > can set, but I don't know what it is. One way is to build with the --program-suffix option: $ ./configure --help | grep suffix --program-suffix=SUFFIX append SUFFIX to installed program names I usually build 1.8 normally, and build 1.9 with --program-suffix=19 Remember to use gem19 to install gems for 1.9.