diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index c22a1f32b0e..12c8d187899 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -111,7 +111,8 @@ end def brotli(path) if ENV['COMPRESS_BROTLI'] STDERR.puts "brotli #{path}" - STDERR.puts `brotli --quality 11 --input #{path} --output #{path}.bl` + STDERR.puts `brotli --quality 11 --input #{path} --output #{path}.br` + STDERR.puts `chmod +r #{path}.br` end end