Permalink
Browse files

Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416

  • Loading branch information...
1 parent ab2582f commit aed9917094f0a618b440d0bacee3a33b30f7d951 @guilleiguaran guilleiguaran committed Aug 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/gzip.rb
View
1 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.

0 comments on commit aed9917

Please sign in to comment.