diff config/application.rb @ 154:2b5ff3dea35c

Skip application init on precompile.
author Edho Arief <edho@myconan.net>
date Thu, 29 Nov 2012 00:15:57 +0700
parents 812711965af1
children cb30b72e8ded
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