>
> 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.

Not sure - I'm open to suggestion.  At first glance, I think having  
them append would be the easiest solution.  It doesn't seem to be an  
issue to pass redundant multiple -r statements to the same ruby  
instance.

If it's in RUBYOPT, it gets used
If it's in RUBYOPT18, it also gets used (if running Ruby 1.8).
...

Caleb