diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-08-06 11:33:18 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-08-06 11:33:18 -0500 |
commit | aed9917094f0a618b440d0bacee3a33b30f7d951 (patch) | |
tree | b61d4baf70c3450a613c1d383284c54c01283db2 | |
parent | ab2582f417008aba3b5b683da13df58e55f7d5cd (diff) | |
download | rails-aed9917094f0a618b440d0bacee3a33b30f7d951.tar.gz rails-aed9917094f0a618b440d0bacee3a33b30f7d951.tar.bz2 rails-aed9917094f0a618b440d0bacee3a33b30f7d951.zip |
Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416
-rw-r--r-- | activesupport/lib/active_support/gzip.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/gzip.rb b/activesupport/lib/active_support/gzip.rb index 62f9c9aa2e..9651f02c73 100644 --- a/activesupport/lib/active_support/gzip.rb +++ b/activesupport/lib/active_support/gzip.rb @@ -1,5 +1,6 @@ require 'zlib' require 'stringio' +require 'active_support/core_ext/string/encoding' module ActiveSupport # A convenient wrapper for the zlib standard library that allows compression/decompression of strings with gzip. |