lib/multi_process/process.rb in multi_process-1.2.1 vs lib/multi_process/process.rb in multi_process-1.3.0

- old
+ new

@@ -159,11 +159,11 @@ # @!group Environment # Check if environment will be cleaned up for process. # # Currently that includes wrapping the process start in - # `Bundler.with_clean_env` to remove bundler environment + # `Bundler.with_unbundled_env` to remove bundler environment # variables. # def clean_env? !!@env_clean end @@ -216,10 +216,10 @@ def start_childprocess env.each {|k, v| childprocess.environment[k.to_s] = v.to_s } childprocess.cwd = dir if clean_env? - Bundler.with_original_env { childprocess.start } + Bundler.with_unbundled_env { childprocess.start } else childprocess.start end end end