Permalink
Browse files

Merge pull request #2450 from guilleiguaran/activesupport-gzip-1.8

Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416
  • Loading branch information...
1 parent 741151c commit 704e9c8c588b568ebfef7a28dbca98864090062e @spastorino spastorino committed Aug 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 704e9c8

Please sign in to comment.