changeset 154:2b5ff3dea35c

Skip application init on precompile.
author Edho Arief <edho@myconan.net>
date Thu, 29 Nov 2012 00:15:57 +0700
parents 1d6f6288cd15
children 244e752087d6
files config/application.rb
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/application.rb	Mon Nov 26 22:46:55 2012 +0700
+++ b/config/application.rb	Thu Nov 29 00:15:57 2012 +0700
@@ -78,5 +78,8 @@
 
     # Enable compression for page caches.
     config.action_controller.page_cache_compression = :best_compression
+
+    # No need to initialize application when precompiling assets
+    config.assets.initialize_on_precompile = false
   end
 end