Dir.chdir fails 
----------------

                 Key: JRUBY-1137
                 URL: http://jira.codehaus.org/browse/JRUBY-1137
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.0
         Environment: win xp sp 2, java 150_12
D:\work\napa\jnapa>jruby -v
ruby 1.8.5 (2007-06-11 rev 3812) [x86-jruby1.0.0RC3] 
Although I think the version number displayed by -v is wrong as I am running 
the latest sources from svn trunk as of 13.6.
            Reporter: Antti Karanta
            Assignee: Thomas E Enebo
            Priority: Minor


Dir.chdir fails with 
:-1: /temp is not a directory (Errno::ENOENT)
if the path given as parameter starts with / (or \). 

D:\work>jruby -e "Dir.chdir('/temp')"
:-1: /temp is not a directory (Errno::ENOENT)

D:\work>jruby -e "Dir.chdir('d:/temp')"

D:\work>ruby -e "Dir.chdir('/temp')"

D:\work>



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