From bba4f66b189b3af5fd673b152b942cb87acbaf6e Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 25 May 2024 00:18:23 -0300 Subject: [PATCH] s|with_unbundled_env|with_original_env|g --- rake/tasks/nanoc.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rake/tasks/nanoc.rake b/rake/tasks/nanoc.rake index 95a8d36..0d76f64 100644 --- a/rake/tasks/nanoc.rake +++ b/rake/tasks/nanoc.rake @@ -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