From 375c08b60e5dd8a263eb4a529ec6ca84980df767 Mon Sep 17 00:00:00 2001 From: Lloyd Kupchanko Date: Tue, 30 Aug 2011 21:39:02 -0600 Subject: [PATCH] Fix for issue #522 --- lib/compass/configuration/helpers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compass/configuration/helpers.rb b/lib/compass/configuration/helpers.rb index 8164ff2b..b0bf7d45 100644 --- a/lib/compass/configuration/helpers.rb +++ b/lib/compass/configuration/helpers.rb @@ -78,6 +78,7 @@ module Compass end def configure_rails!(app) + return unless app.config.respond_to?(:sass) app.config.compass.to_sass_engine_options.each do |key, value| app.config.sass.send(:"#{key}=", value) end