Skip to content

Instantly share code, notes, and snippets.

@luckyruby
Created April 20, 2012 06:25
Show Gist options
  • Save luckyruby/2426563 to your computer and use it in GitHub Desktop.
Save luckyruby/2426563 to your computer and use it in GitHub Desktop.
mbp:lib omnix$ jruby -v
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_31) [darwin-x86_64-java]
mbp:lib omnix$ echo $JRUBY_OPTS
--1.9
mbp:lib omnix$ irb
jruby-1.6.5 :001 > require 'securerandom'
=> true
jruby-1.6.5 :002 > SecureRandom.uuid
NoMethodError: undefined method `uuid' for SecureRandom:Class
from (irb):2:in `evaluate'
from org/jruby/RubyKernel.java:1093:in `eval'
from org/jruby/RubyKernel.java:1420:in `loop'
from org/jruby/RubyKernel.java:1206:in `catch'
from org/jruby/RubyKernel.java:1206:in `catch'
from /Users/omnix/.rvm/rubies/jruby-1.6.5/bin/irb:17:in `(root)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment