From cdff84b84a52236ad8a56a58bf61ffcd1291fad2 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Wed, 8 Feb 2012 08:49:40 -0800 Subject: [PATCH] continue trying to fix compass issue --- .../lib/middleman-more/core_extensions/compass.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/middleman-more/lib/middleman-more/core_extensions/compass.rb b/middleman-more/lib/middleman-more/core_extensions/compass.rb index 872da23b..72e51896 100644 --- a/middleman-more/lib/middleman-more/core_extensions/compass.rb +++ b/middleman-more/lib/middleman-more/core_extensions/compass.rb @@ -34,11 +34,12 @@ module Middleman::CoreExtensions::Compass end end - # if build? - # ::Compass.configuration do |config| - # config.environment = :production - # end - # end + if build? + ::Compass.configuration do |config| + config.environment = :production + config.project_path = File.join(root, build_dir) + end + end run_hook :compass_config, ::Compass.configuration run_hook :after_compass_config