s|with_unbundled_env|with_original_env|g
This commit is contained in:
parent
6db1792828
commit
bba4f66b18
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ namespace :nanoc do
|
|||
buildenv = args.buildenv || ENV["buildenv"] || "development"
|
||||
sass_path = File.join(root, "src", "css")
|
||||
sh "rm -rf build/al-quran/css/"
|
||||
Bundler.with_unbundled_env {
|
||||
Bundler.with_original_env {
|
||||
sh "SASS_PATH=#{sass_path} buildenv=#{buildenv} bundle exec nanoc co"
|
||||
}
|
||||
end
|
||||
|
@ -31,7 +31,7 @@ namespace :nanoc do
|
|||
require "listen"
|
||||
srcdir = File.join(root, "src")
|
||||
Listen.to(srcdir) do
|
||||
Bundler.with_unbundled_env { sh "rake nanoc:build" }
|
||||
Bundler.with_original_env { sh "rake nanoc:build" }
|
||||
end.start
|
||||
sleep
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue