comparison 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
comparison
equal deleted inserted replaced
153:1d6f6288cd15 154:2b5ff3dea35c
76 # Save cache in different location to avoid collision. 76 # Save cache in different location to avoid collision.
77 config.action_controller.page_cache_directory = config.root.join('public', 'cache') 77 config.action_controller.page_cache_directory = config.root.join('public', 'cache')
78 78
79 # Enable compression for page caches. 79 # Enable compression for page caches.
80 config.action_controller.page_cache_compression = :best_compression 80 config.action_controller.page_cache_compression = :best_compression
81
82 # No need to initialize application when precompiling assets
83 config.assets.initialize_on_precompile = false
81 end 84 end
82 end 85 end