From 9e8893cfacfe11bbb96e505259642637ce8a0751 Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Tue, 27 Nov 2012 14:19:45 -0500 Subject: [PATCH] Disable loading of the full environment during assets:precompile Fixes #1338 --- config/application.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/application.rb b/config/application.rb index a772d67a..4b9e7319 100644 --- a/config/application.rb +++ b/config/application.rb @@ -61,6 +61,9 @@ module Tracksapp # Enable the asset pipeline config.assets.enabled = true + # Disable loading of the full environment when precompiling assets + config.assets.initialize_on_precompile = false + # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0'