From 7e517c2636704ed6b142aa6cc42832044ee059eb Mon Sep 17 00:00:00 2001 From: Steven Hancock Date: Fri, 13 Apr 2012 20:42:05 -0700 Subject: [PATCH] Initialize on asset precompile This re-enables 'config.assets.initialize_on_precompile' to allow the Rails Admin assets to precompile. On Heroku deploys, this may require the Heroku Labs 'user_env_compile' feature to be enabled, which you should be using anyway for Asset Sync to work properly. :) --- config/application.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/application.rb b/config/application.rb index 8fc65922e..e9f7f53b9 100644 --- a/config/application.rb +++ b/config/application.rb @@ -73,9 +73,6 @@ module Diaspora # Enable the asset pipeline config.assets.enabled = true - # For easier deployment to Heroku - config.assets.initialize_on_precompile = false - # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Javascripts config.assets.precompile += [ "aspect-contacts.js", "contact-list.js", "finder.js",