diff --git a/activesupport/lib/active_support/gzip.rb b/activesupport/lib/active_support/gzip.rb index fddbfb0ab7..62f9c9aa2e 100644 --- a/activesupport/lib/active_support/gzip.rb +++ b/activesupport/lib/active_support/gzip.rb @@ -6,9 +6,9 @@ module ActiveSupport module Gzip class Stream < StringIO def initialize(*) - super - set_encoding "BINARY" if "".encoding_aware? - end + super + set_encoding "BINARY" if "".encoding_aware? + end def close; rewind; end end @@ -26,4 +26,4 @@ module ActiveSupport output.string end end -end \ No newline at end of file +end