Hassan Schroeder
10/10/2008 4:21:00 PM
On Fri, Oct 10, 2008 at 9:05 AM, John Griffiths <indiehead@gmail.com> wrote:
> Seems possible, especially using:
>
> ./configure --prefix=/opt/ruby-1.8.7-p71
>
> To set where to install the Ruby version, I'm imagining I'd have to run
> gem --update like,
>
> /opt/ruby-1.8.7-p71/bin/gem --update
> is there something better?
I just create files with appropriate PATH settings, like
------------------------------------------------------------
export RUBY_HOME=/opt/ruby-1.8.7-p71
PATH=$RUBY_HOME/bin:$PATH
------------------------------------------------------------
Name them sensibly, and you can just type, e.g.
prompt% . 187
to source, and voila! No need to enter the entire path, or remember
to use a different name.
FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com