Main.java#parseShebangOptions can't handle '#!/usr/bin/env jruby1.2'
--------------------------------------------------------------------
Key: JRUBY-3554
URL: http://jira.codehaus.org/browse/JRUBY-3554
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.2
Environment: Debian Linux (sid)
Reporter: Sebastien Delafond
Priority: Minor
While packaging jruby1.2 for Debian, I noticed that installing jruby as
jruby1.2 (and adapting the shebang line in jirb accordingly), I can't start
jirb anymore:
# jruby1.2 /usr/bin/jirb1.2
/usr/lib/jruby1.2//lib/ruby/1.8/irb/input-method.rb:69:in `open': No such
file or directory - File not found - .2 (Errno::ENOENT)
from /usr/lib/jruby1.2//lib/ruby/1.8/irb/input-method.rb:69:in
`initialize'
from /usr/lib/jruby1.2//lib/ruby/1.8/irb/context.rb:83:in `initialize'
from /usr/lib/jruby1.2//lib/ruby/1.8/irb.rb:99:in `initialize'
from /usr/lib/jruby1.2//lib/ruby/1.8/irb.rb:62:in `start'
from /usr/bin/jirb1.2:19
Changing the shebang line in /usr/bin/jirb1.2 back to the default
'#!/usr/bin/env jruby', or removing it altogether, fixes the problem.
--
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