Skip to content

Instantly share code, notes, and snippets.

@cheald
Created December 31, 2014 22:50
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/69fac746e980c38d143d to your computer and use it in GitHub Desktop.
Save cheald/69fac746e980c38d143d to your computer and use it in GitHub Desktop.
NameError: no constructorfor arguments (org.jruby.RubyFixnum,org.jruby.RubyFixnum,org.jruby.RubyFixnum,org.jruby.RubyFixnum,org.jruby.RubyFixnum,org.jruby.RubyFixnum,org.joda.time.chrono.GregorianChronology) on Java::OrgJodaTime::DateTime
available overloads:
(int,int,int,int,int,int,org.joda.time.Chronology)
(int,int,int,int,int,int,org.joda.time.DateTimeZone)
(int,int,int,int,int,int,int)
civil at /var/www/repos/jruby/lib/ruby/stdlib/date.rb:831
to_date at /var/www/repos/jruby/lib/ruby/stdlib/date.rb:1871
advance at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.21/lib/active_support/core_ext/time/calculations.rb:118
sum at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.21/lib/active_support/duration.rb:96
each at org/jruby/RubyArray.java:1567
inject at org/jruby/RubyEnumerable.java:857
sum at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.21/lib/active_support/duration.rb:91
since at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.21/lib/active_support/duration.rb:63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment