RUBYOPT environment variable improperly processed on Windows
------------------------------------------------------------

                 Key: JRUBY-5578
                 URL: http://jira.codehaus.org/browse/JRUBY-5578
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC3, JRuby 1.6RC2, JRuby 1.6RC1
         Environment: Windows XP, sp3. JRuby 1.6RC3.
            Reporter: Steve Shreeve
            Assignee: Thomas E Enebo
            Priority: Minor


I usually set the RUBYOPT environment variable to "RUBYOPT=rubygems" so I don't 
have to "require 'rubygems'" everywhere. But, when RUBYOPT is set with JRuby 
1.6RC*, I see the following message:

d:\>jruby -v
jruby 1.6.0.RC3 (ruby 1.8.7 patchlevel 330) (2011-03-08 bb55fc0) (Java 
HotSpot(TM) Client VM 1.6.0_22) [Windows XP-x86-java]
Error opening script file: d:/rubygems (The system cannot find the file 
specified)

I can simply add "require 'rubygems'", but it would be nice if it worked the 
same as MRI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to