Created
June 28, 2012 16:30
-
-
Save iamvery/3012323 to your computer and use it in GitHub Desktop.
It appears that there is a require statement missing somewhere in ActiveSupport 3.2.6
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
$> pry | |
[1] pry(main)> require 'active_support/core_ext/numeric/time' | |
=> true | |
[2] pry(main)> 1.second.ago | |
=> 2012-06-28 11:25:21 -0500 | |
[3] pry(main)> exit | |
$> gem install activesupport | |
Fetching: activesupport-3.2.6.gem (100%) | |
Successfully installed activesupport-3.2.6 | |
1 gem installed | |
Installing ri documentation for activesupport-3.2.6... | |
Building YARD (yri) index for activesupport-3.2.6... | |
Installing RDoc documentation for activesupport-3.2.6... | |
$> pry | |
[1] pry(main)> require 'active_support/core_ext/numeric/time' | |
=> true | |
[2] pry(main)> 1.second.ago | |
NoMethodError: undefined method `zone' for Time:Class | |
from /Users/hayesj/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.6/lib/active_support/core_ext/time/calculations.rb:44:in `current' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment