-
-
Save cheald/87d1402a95464f4500d5 to your computer and use it in GitHub Desktop.
This file contains 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
$ irb | |
jruby-9.0.0.0-pre1 :001 > require 'active_support/all' | |
=> true | |
jruby-9.0.0.0-pre1 :002 > 40.days | |
=> 40 days |
This file contains 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
$ irb | |
jruby-head :001 > require 'json/ext' | |
=> true | |
jruby-head :002 > JSON::Ext::Parser | |
=> JSON::Ext::Parser | |
jruby-head :003 > require 'active_support/all' | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:37: warning: already initialized constant MAPPING | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:189: warning: already initialized constant UTC_OFFSET_WITH_COLON | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:190: warning: already initialized constant UTC_OFFSET_WITHOUT_COLON | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:7: warning: already initialized constant HTML_ESCAPE | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:8: warning: already initialized constant JSON_ESCAPE | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:9: warning: already initialized constant HTML_ESCAPE_REGEXP | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:10: warning: already initialized constant HTML_ESCAPE_ONCE_REGEXP | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:11: warning: already initialized constant JSON_ESCAPE_REGEXP | |
/usr/local/rvm/gems/jruby-head/gems/activesupport-4.2.1/lib/active_support/core_ext/string/output_safety.rb:133: warning: already initialized constant UNSAFE_STRING_METHODS | |
=> true | |
jruby-head :004 > 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):4: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 /usr/local/rvm/rubies/jruby-head/bin/irb:13:in `<top>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment