From 2513b5d6fc4cd0a94abba258898825109fe75fd6 Mon Sep 17 00:00:00 2001 From: James Miller Date: Thu, 9 May 2019 13:10:46 -0700 Subject: [PATCH] try with_original_env on top of 3.12.1, not master --- lib/puma/launcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puma/launcher.rb b/lib/puma/launcher.rb index b51a6c3d96..d8c83f968e 100644 --- a/lib/puma/launcher.rb +++ b/lib/puma/launcher.rb @@ -266,7 +266,7 @@ def prune_bundler log '* Pruning Bundler environment' home = ENV['GEM_HOME'] - Bundler.with_clean_env do + Bundler.with_original_env do ENV['GEM_HOME'] = home ENV['PUMA_BUNDLER_PRUNED'] = '1' wild = File.expand_path(File.join(puma_lib_dir, "../bin/puma-wild"))