Skip to content

Instantly share code, notes, and snippets.

@iamvery
Created June 28, 2012 16:30
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 iamvery/3012323 to your computer and use it in GitHub Desktop.
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
$> 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