Shebang Option Parsing Inconsistent with Regular Dispatch
---------------------------------------------------------

                 Key: JRUBY-3582
                 URL: http://jira.codehaus.org/browse/JRUBY-3582
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.2
         Environment: Mac OS X 10.5.6, Apple's Java 6, Bash
            Reporter: Daniel Spiewak
            Assignee: Thomas E Enebo
         Attachments: _jbuildr

Given an executable script which begins with the following line:

    #!/usr/bin/env jruby -J-Djruby.compile.frameless=true

Invoking this script directly will produce the following error:

    jruby: unknown option -J-Djruby.compile.frameless=true

When invoking jruby by hand, the -J-Djruby.compile.frameless=true option is 
properly accepted.  Sample script attached (source: Apache Buildr).

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