From aed9917094f0a618b440d0bacee3a33b30f7d951 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sat, 6 Aug 2011 11:33:18 -0500 Subject: Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416 --- activesupport/lib/active_support/gzip.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support/gzip.rb') 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. -- cgit v1.2.3