diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 12c8d187899..53d3ea80cda 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -30,16 +30,7 @@ task 'assets:precompile:before' do if $node_uglify Rails.configuration.assets.js_compressor = nil - - module ::Sprockets - # TODO: https://github.com/rails/sprockets-rails/pull/342 - # Rails.configuration.assets.gzip = false - class Base - def skip_gzip? - true - end - end - end + Rails.configuration.assets.gzip = false end end