diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-01 10:49:28 +0100 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-02 17:50:12 -0800 |
commit | 8935854375a6c08acd617beaec30f6fd09a29ea0 (patch) | |
tree | 67e66dc41507257e9ef831feefc3347dfc7e3291 /activesupport | |
parent | a2de13e1e0de5bba3cbd6050fe4884595704e1e2 (diff) | |
download | rails-8935854375a6c08acd617beaec30f6fd09a29ea0.tar.gz rails-8935854375a6c08acd617beaec30f6fd09a29ea0.tar.bz2 rails-8935854375a6c08acd617beaec30f6fd09a29ea0.zip |
Ruby 1.9.2: rational.rb is deprecated
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date_time/calculations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_time/calculations.rb index 41cf020f94..e93abfa4a3 100644 --- a/activesupport/lib/active_support/core_ext/date_time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date_time/calculations.rb @@ -1,4 +1,4 @@ -require 'rational' +require 'rational' unless RUBY_VERSION >= '1.9.2' class DateTime class << self |