Set Jekyll path relative to the env file, not to CWD
This commit is contained in:
parent
48795462c2
commit
df868b308a
|
@ -7,7 +7,7 @@ World do
|
|||
end
|
||||
|
||||
TEST_DIR = File.join('/', 'tmp', 'jekyll')
|
||||
JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll')
|
||||
JEKYLL_PATH = File.join(File.dirname(__FILE__), '..', '..', 'bin', 'jekyll')
|
||||
|
||||
def run_jekyll(opts = {})
|
||||
command = JEKYLL_PATH.clone
|
||||
|
|
Loading…
Reference in New Issue