From d59451f39830b27c2ed5e82c8436726a96fcc2c2 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 13 Feb 2010 12:22:21 -0800 Subject: [PATCH] [Rails] Don't set unset options on the Sass::Plugin --- lib/compass/configuration/adapters.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compass/configuration/adapters.rb b/lib/compass/configuration/adapters.rb index 01929daf..98fb8be4 100644 --- a/lib/compass/configuration/adapters.rb +++ b/lib/compass/configuration/adapters.rb @@ -19,8 +19,8 @@ module Compass plugin_opts = {:template_location => locations} plugin_opts[:style] = output_style if output_style plugin_opts[:line_comments] = line_comments - plugin_opts[:cache] = cache - plugin_opts[:cache_location] = cache_path + plugin_opts[:cache] = cache unless cache.nil? + plugin_opts[:cache_location] = cache_path unless cache_path.nil? plugin_opts.merge!(sass_options || {}) plugin_opts end