On 02/01/06, Caleb Tennis <caleb / aei-tech.com> wrote:
> Matz, others:
>
> Is there any chance we could get a RUBYOPT variable that's specific
> to the Ruby version?  IE:
>
> RUBYOPT18="-rubygems"
> RUBYOPT19=""
>
> 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.

I like this idea, but ...

What happens if I have:

  RUBYOPT="-rubygems"
  RUBYOPT18="-rubygems"
  RUBYOPT19=""

Will RUBYOPT18 take precedence over RUBYOPT? In Windows, RUBYOPT19
being empty will have a similar effect to RUBYOPT19 not being defined.

-austin
--
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca