From: Shane Emmons Date: 2010-02-21T05:59:42+09:00 Subject: Re: Specifying Ruby Version from Command Line --0015174c1972642b6a04800e7a4d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I wrote a script that I can call that changes my path. I run 'setruby 1.8' to change the path to 1.8, 'setruby 1.9' to change the path to 1.9 and I also have 'setruby jruby' to change to jruby. On Sat, Feb 20, 2010 at 2:57 PM, Eust=E1quio Rangel wrote: > 2010/2/20 Alex DeCaria : > > 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. > > What OS are you running, and how did you install both versions? > > --=20 Shane Emmons --0015174c1972642b6a04800e7a4d--