From 12e766aa828b0105b7e8b4fcc6fb89c641919b06 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Tue, 22 Apr 2014 17:14:52 +0600 Subject: [PATCH] [#369] temporaly remove js compression --- config/environments/production.rb | 2 ++ config/environments/staging.rb | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c68ff7ba9..6bbd64cbe 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -72,4 +72,6 @@ Rosa::Application.configure do config.assets.css_compressor = :sass config.eager_load = true + + config.assets.logger = Logger.new $stdout end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 730cc8e7b..393d4dd9f 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -67,9 +67,11 @@ Rosa::Application.configure do codemirror_editor.js codemirror_editor.css) # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + #config.assets.js_compressor = :uglifier config.assets.css_compressor = :sass config.eager_load = true config.log_redis = true + + config.assets.logger = Logger.new $stdout end