On Sat, Apr 4, 2009 at 9:49 AM, Ben Lovell <benjamin.lovell / gmail.com> wrote:

> Although it is a little hackish I'm not sure of any easier method.

I always install alternative versions of any software into different
directories, e.g.
 /usr/local/ruby-1.8.6
 /usr/local/ruby-1.8.7
 /usr/local/ruby-1.9.1

set the default path in your .bashrc.local or equiv, and then use a
file like, say "r187"
------------
export RUBY_HOME=/usr/local/ruby-1.8.7
export PATH=$RUBY_HOME/bin:$PATH
------------
for each version. Then in any window you can type
prompt> . r187

and set the version for that particular shell.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder / gmail.com