Some Jekyll plugins confuse Compass by mucking around with the CWD.

This keeps things behaving sanely in such cases.
This commit is contained in:
Jon Frisby 2013-02-21 21:45:03 -08:00
parent 72579fe9cf
commit fe3ac0b260

View File

@ -3,6 +3,7 @@ require "octopress"
config = Octopress::Configuration.new.read_configuration config = Octopress::Configuration.new.read_configuration
project_path = File.dirname(__FILE__)
project_type = :stand_alone project_type = :stand_alone
compass_http_path = config[:destination].gsub('public', '') compass_http_path = config[:destination].gsub('public', '')