summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-16 15:15:33 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-16 15:50:05 -0700
commitad86bbd6d865f881878818d07b1a22be5953cefb (patch)
treec5b4d3c742dd7bea5972491b8fc3736ea46f014d
parent31d7042a903221dab3fe7cd05e51f98e073d73d8 (diff)
downloadchef-ad86bbd6d865f881878818d07b1a22be5953cefb.tar.gz
Revert the change to bundler
We're on 1.x so we need to do it the old way Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/support/chef_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/chef_helpers.rb b/spec/support/chef_helpers.rb
index e5371e60a9..ec42515b62 100644
--- a/spec/support/chef_helpers.rb
+++ b/spec/support/chef_helpers.rb
@@ -65,7 +65,7 @@ end
def system_windows_service_gem?
windows_service_gem_check_command = %{ruby -r "win32/daemon" -e ":noop" > #{DEV_NULL} 2>&1}
if defined?(Bundler)
- Bundler.with_unbundled_env do
+ Bundler.with_clean_env do
# This returns true if the gem can be loaded
system(windows_service_gem_check_command)
end