[windows] JRuby's in-process shell launching detection should be case 
insensitive
---------------------------------------------------------------------------------

                 Key: JRUBY-4290
                 URL: http://jira.codehaus.org/browse/JRUBY-4290
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.5
         Environment: Latest dev jruby 1.5.
            Reporter: Vladimir Sizikov
             Fix For: JRuby 1.5


This works fine. JRuby decides to do in-process launching:

{code}
jruby -e "p `ruby.exe -v`"
"jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-11-29 19426f0) (Java 
HotSpot(TM) Client VM 1.6.0_17) [x86-java]\r\n"
{code}

But similar command with uppercase characters works differently. JRuby decides 
*NOT* to do in-process launching, and executes external ruby.exe. Which is 
inconsistent on Windows, where file names are case insensitive.

{code}
jruby -e "p `rUbY.eXe -v`"
"ruby 1.9.2dev (2009-11-12 trunk 25723) [i386-mingw32]\n"
{code}

Will fix.

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