Unable to start jirb from jruby-complete when the current working directory is 
the root directory
-------------------------------------------------------------------------------------------------

                 Key: JRUBY-5339
                 URL: http://jira.codehaus.org/browse/JRUBY-5339
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC1
         Environment: Microsoft Windows 7, Java 1.6
            Reporter: Benjamin Christenson
            Assignee: Thomas E Enebo
            Priority: Minor


When using the JRuby Complete jar to start a jirb session and the current 
working directory is the root directory, an error is raised.  Below is a sample 
Windows Shell session of the error occurring.  This is very similar to 
http://jira.codehaus.org/browse/JRUBY-4824, which is also still an issue in 
1.6.0.RC1


Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\ben.christenson>cd C:\

C:\>java -jar C:\usr\jruby-1.6.0RC1\jruby-complete-1.6.0.RC1.jar -S jirb
org/jruby/RubyKernel.java:1066:in `load': No such file to load -- file:/C:/usr/j
ruby-1.6.0RC1/jruby-complete-1.6.0.RC1.jar!/META-INF/jruby.home/bin/jirb (LoadEr
ror)
        from file:/C:/usr/jruby-1.6.0RC1/jruby-complete-1.6.0.RC1.jar!/jruby/com
mands.rb:12:in `jirb'
        from org/jruby/RubyProc.java:276:in `call'

C:\>cd usr

C:\usr>java -jar C:\usr\jruby-1.6.0RC1\jruby-complete-1.6.0.RC1.jar -S jirb

  Loading custom irb configuration (C:/Users/ben.christenson/.irbrc)
  Using JRuby 1.6.0.RC1, Ruby 1.8.7, Java 1.6.0_22

irb(main):001:0> exit

C:\usr>

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