From 2178a755e2ed74debab8357335a494e42d19ee81 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Mon, 30 Nov 2015 17:40:14 -0800 Subject: [PATCH] Minor SassC load_paths fix --- middleman-core/lib/middleman-core/renderers/sass.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/renderers/sass.rb b/middleman-core/lib/middleman-core/renderers/sass.rb index 075c50f7..43ac1232 100644 --- a/middleman-core/lib/middleman-core/renderers/sass.rb +++ b/middleman-core/lib/middleman-core/renderers/sass.rb @@ -8,7 +8,7 @@ module Middleman def initialize(app, options={}, &block) super - logger.info "== Prefering use of LibSass" if defined?(::SassC) + logger.info "== Preferring use of LibSass" if defined?(::SassC) app.files.ignore :sass_cache, :source, /(^|\/)\.sass-cache\// @@ -75,7 +75,7 @@ module Middleman ctx = @context more_opts = { - load_paths: ctx.config[:sass_assets_paths], + load_paths: ::Sass.load_paths | ctx.config[:sass_assets_paths], filename: eval_file, line: line, syntax: syntax,