Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 2a253ba

Browse files
committed
Set env.js_compressor = false for Rails 3.2 backwards compatibility
Credit @jnu.
1 parent 2298391 commit 2a253ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/requirejs-rails_tasks.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ OS X Homebrew users can use 'brew install node'.
8686
# after the environment ("config/application.rb",
8787
# "config/environments/*.rb") has been set up.
8888
Rails.application.config.assets.configure do |env|
89-
env.js_compressor = nil
89+
env.js_compressor = false
9090
end
9191
end
9292

0 commit comments

Comments
 (0)