jruby -S picks up script from local directory
---------------------------------------------

                 Key: JRUBY-2896
                 URL: http://jira.codehaus.org/browse/JRUBY-2896
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.3
            Reporter: Assaf Arkin
            Assignee: Thomas E Enebo


jruby -S looks for scripts in the current directory, even when not asked to.  
It should only look for them in PATH (maybe RUBYLIB?)

$ jruby -S spec spec/common_spec.rb 
Error opening script file: /Users/assaf/work/buildr/spec (No such file or 
directory)

This shows what happens if there's a directory of the same name, but even if it 
was a file, it should not be picked up as a script unless listed in the PATH.

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