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