-
-
Save yarinb/1245789 to your computer and use it in GitHub Desktop.
Jirb doesn't work properly without JRUBY_OPTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ rvm use jruby | |
Using /Users/yarinb/.rvm/gems/jruby-1.6.4 | |
➜ ~ which jirb (jruby-1.6.4) | |
/Users/yarinb/.rvm/rubies/jruby-1.6.4/bin/jirb | |
➜ ~ jirb (jruby-1.6.4) | |
Object.new | |
Object.new | |
#<Object:0x62565cf8> | |
1+1 | |
1+1 | |
2 | |
^C | |
➜ ~ export JRUBY_OPTS="" (jruby-1.6.4) | |
➜ ~ jirb (jruby-1.6.4) | |
jruby-1.6.4 :001 > Object.new | |
=> #<Object:0x420a6d35> | |
jruby-1.6.4 :002 > 1+1 | |
=> 2 | |
jruby-1.6.4 :003 > % | |
➜ ~ (jruby-1.6.4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment