Jeff Schwab
3/1/2009 4:50:00 PM
Tim Hunter wrote:
> Jeff Schwab wrote:
>> What is the best way to install Ruby 1.9 on Apple OS X?
>>
>> The latest version in fink is 1.8.6, which I'm currently using. I did
>> not see this discussion in the c.l.r archives, but please feel free to
>> point me to them.
>>
>>
>
> Download the tarball from ruby-lang.org, configure, make, make install.
>
> Make sure you've got /usr/local at the beginning of your $PATH, or, if
> you want to use 1.9 alongside 1.8.6, use the --program-suffix= option to
> append "19" to the executable names. Use "./configure --help" for more
> information.
Thanks. Ordinarily, when I do that dance, I use --prefix to install
multiple versions in different directories, and to make uninstallation
feasible.
Once I have two versions installed, how do I tell (e.g.) Rails which
version to use?