diff --git a/config/environments/development.rb b/config/environments/development.rb index c4d3540e..cd440097 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -40,10 +40,6 @@ Metamaps::Application.configure do # Print deprecation notices to the Rails logger config.active_support.deprecation = :log - # Compress assets - config.assets.compile = true - config.assets.compress = false - # Expands the lines which load the assets config.assets.debug = true end diff --git a/config/environments/production.rb b/config/environments/production.rb index a515b4ca..192f631d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -15,7 +15,7 @@ Metamaps::Application.configure do # Disable Rails's static asset server (Apache or nginx will already do this) config.serve_static_files = true - config.assets.compile = true + config.assets.compile = false # Compress JavaScripts and CSS config.assets.compress = true diff --git a/config/environments/test.rb b/config/environments/test.rb index 18c17296..73003840 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -30,4 +30,10 @@ Metamaps::Application.configure do # Print deprecation notices to the stderr config.active_support.deprecation = :stderr + + #assets config + config.assets.compile = true + config.assets.compress = false + config.assets.debug = false + config.assets.digest = false end