On Jan 2, 2006, at 2:00 PM, Caleb Tennis wrote:

> Matz, others:
>
> Is there any chance we could get a RUBYOPT variable that's specific  
> to the Ruby version?  IE:
>
> RUBYOPT18="-rubygems"
> RUBYOPT19=""

alias ruby19='ruby19 -rubygems'

Seems to be a good workaround.

For more complicated setups you only need to set up the environment  
in a .sh or .bat file.

> Ruby 1.8 only listens to RUBYOPT18 (and RUBYOPT like normal).  Ruby  
> 1.9 only listens to RUBYOPT19 (and RUBYOPT).  This way, if you run  
> both versions on the system you can customize which RUBYOPTs go to  
> which version you are using.

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com