C:\dev\ruby\p2pwebclient\documents\writeup\final>jirb --1.9
c:/dev/ruby/downloads/jruby/lib/ruby/1.8/irb/init.rb:192:in
parse_opts': Unrecognized switch: --1.9 (IRB::UnrecognizedSwitch) from c:/dev/ruby/downloads/jruby/lib/ruby/1.8/irb/init.rb:19:in
setup’
from c:/dev/ruby/downloads/jruby/lib/ruby/1.8/irb.rb:54:in
`start’
from c:\dev\ruby\downloads\jruby\bin\jirb:19
would be nice.
Thanks!
-r
Hi Roger,
On Sat, Nov 28, 2009 at 1:56 AM, Roger P. [email protected]
wrote:
would be nice.
Yeah, I often encounter this as well. Please file an issue in JIRA.
I’m not sure whether it would be easy/possible to fix, but we’ll see.
As a workaround:
jruby --1.9 -S jirb
Thanks,
–Vladimir
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi,
On Sat, Nov 28, 2009 at 10:30 AM, Vladimir S. [email protected]
wrote:
As a workaround:
jruby --1.9 -S jirb
Another workaround is to use JRUBY_OPTS. This actually should work
already, since JRuby does look into JRUBY_OPTS.
So, setting JRUBY_OPTS to --1.9 and then just invoking jirb should
bring up 1.9.2dev version of JRuby.
Thanks,
–Vladimir
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
So, setting JRUBY_OPTS to --1.9 and then just invoking jirb should
bring up 1.9.2dev version of JRuby.
C:\dev\ruby\p2pwebclient\src>pik jruby 14
C:\dev\ruby\p2pwebclient\src>jruby --1.9 -S jirb
irb(main):001:0> ->{}
=> #Proc:0x16f5261@:2(irb)
C:\dev\ruby\p2pwebclient\src>set | grep JRUBY
JRUBY_OPTS=–1.9
C:\dev\ruby\p2pwebclient\src>jirb
irb(main):001:0> ->{}
SyntaxError: (irb):2: , unexpected tGT
->{}
^
from (irb):2
I assume this is a bug then?
-r
Vladimir S. wrote:
Hi Roger,
On Mon, Nov 30, 2009 at 9:34 PM, Roger P. [email protected]
wrote:
I assume this is a bug then?
This seems to be fixed post JRuby-1.4. So, it works on master branch
(and will work in official 1.5 release).
Good it does seem to work there. Of course trunk is still not something
I can use but once I can…
-r
C:\dev\ruby\downloads\jruby>jirb
irb(main):001:0> require ‘rubygems’
LoadError: IO error – rubygems
from (irb):2:in `require’
from (irb):2
Hi Roger,
On Mon, Nov 30, 2009 at 9:34 PM, Roger P. [email protected]
wrote:
I assume this is a bug then?
This seems to be fixed post JRuby-1.4. So, it works on master branch
(and will work in official 1.5 release).
Thanks,
–Vladimir
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email