Skip to content

Instantly share code, notes, and snippets.

@cheald
Created April 2, 2015 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheald/6152f20c4d899a3ee879 to your computer and use it in GitHub Desktop.
Save cheald/6152f20c4d899a3ee879 to your computer and use it in GitHub Desktop.
jruby-head :001 > require 'active_support/all'
=> true
jruby-head :002 > 40.days
TypeError: ActiveSupport::Duration can't be coerced into Fixnum
from org/jruby/RubyFixnum.java:499:in `*'
from /usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/numeric/time.rb:50:in `days'
from (irb):2:in `<eval>'
from org/jruby/RubyKernel.java:1005:in `eval'
from org/jruby/RubyKernel.java:1315:in `loop'
from org/jruby/RubyKernel.java:1125:in `catch'
from org/jruby/RubyKernel.java:1125:in `catch'
from bin/irb:13:in `<top>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment