JRUBY_OPTS="--1.9" results in error "jruby: unknown option --1.9"
-----------------------------------------------------------------
Key: JRUBY-3750
URL: http://jira.codehaus.org/browse/JRUBY-3750
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.3
Reporter: Luca Pireddu
Assignee: Thomas E Enebo
Priority: Minor
I'm trying to get jruby to run with --1.9 by default by setting JRUBY_OPTS, but
I get an error
$ echo ' "abc".each_char { |c| puts c } ' | JRUBY_OPTS=" --1.9 "
/usr/local/bin/jruby
jruby: unknown option --1.9
$ echo ' "abc".each_char { |c| puts c } ' | /usr/local/bin/jruby --1.9
a
b
c
$ JRUBY_OPTS=" -v " /usr/local/bin/jruby
jruby 1.3.0 (ruby 1.8.6p287) (2009-06-03 5dc2e22) (Java HotSpot(TM) Client VM
1.6.0_12) [i386-java]
--
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