diff options
author | Dan Webb <dan.webb@damacus.io> | 2020-04-18 17:19:38 +0100 |
---|---|---|
committer | Dan Webb <dan.webb@damacus.io> | 2020-04-18 17:24:00 +0100 |
commit | 3cb31bfb962a9d1c0075b4d62d540752dc9ff683 (patch) | |
tree | 7f289cdc64ff2fd7783adac27cc1ae29703c59bc /tasks/bin | |
parent | 4a7b20bc53ee7f43d5ff7a0e3c844959093914d7 (diff) | |
download | chef-3cb31bfb962a9d1c0075b4d62d540752dc9ff683.tar.gz |
[FIX DEPRECATION] with_clean_env is deprecated
clean_env is now unbundled
Signed-off-by: Daniel Webb <dan.webb@damacus.io>
Diffstat (limited to 'tasks/bin')
-rwxr-xr-x | tasks/bin/run_external_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/bin/run_external_test b/tasks/bin/run_external_test index 889c5bbb15..2eb45c8aab 100755 --- a/tasks/bin/run_external_test +++ b/tasks/bin/run_external_test @@ -31,7 +31,7 @@ Dir.mktmpdir("chef-external-test") do |dir| shell_out!("git clone #{git_url} #{dir}", live_stream: STDOUT) Dir.chdir(dir) do shell_out!("git checkout #{git_thing}", live_stream: STDOUT) - Bundler.with_clean_env do + Bundler.with_unbundled_env do shell_out!("bundle install", live_stream: STDOUT, env: env) shell_out!("bundle exec #{ARGV.join(" ")}", live_stream: STDOUT, env: env) end |