From 87d3bdc09dc4caa9f51041b7a60ed3c547ac9b85 Mon Sep 17 00:00:00 2001 From: Jonathan del Strother Date: Wed, 12 Oct 2011 12:26:36 +0100 Subject: [PATCH] Fix Railtie initialization when initialize_on_precompile is disabled --- lib/compass/app_integration/rails/actionpack31/railtie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/app_integration/rails/actionpack31/railtie.rb b/lib/compass/app_integration/rails/actionpack31/railtie.rb index 041cf60a..08ae8572 100644 --- a/lib/compass/app_integration/rails/actionpack31/railtie.rb +++ b/lib/compass/app_integration/rails/actionpack31/railtie.rb @@ -76,7 +76,7 @@ end module Compass class Railtie < Rails::Railtie - initializer "compass.initialize_rails" do |app| + initializer "compass.initialize_rails", :group => :all do |app| # Configure compass for use within rails, and provide the project configuration # that came via the rails boot process. Compass::AppIntegration::Rails.check_for_double_boot!