jeremyevans / home_run

Fast Date/DateTime classes for ruby :: Unmaintained, unnecessary on ruby 1.9.3+
Other
465 stars 10 forks source link

uninitialized constant DateTime::Infinity #50

Closed thoughtafter closed 11 years ago

thoughtafter commented 11 years ago

Looks like home_run 1.0.8 is incompatible with Rails 3.2.13 which references DateTime::Infinity in file /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date_time/calculations.rb line 141.

jfcouture commented 11 years ago

Just ran into the same bug. I added class DateTime::Infinity; end

after require 'home_run' in boot.rb

It seems to work as a workaround for now.

jeremyevans commented 11 years ago

Thanks for the heads up! I've released a new gem with this fix.

jfcouture commented 11 years ago

Wow! Thanks a lot for the quick fix and release!