diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-05 12:56:29 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-10 17:47:39 +0100 |
commit | bcc311f522248842798a17a412076667ebda12ee (patch) | |
tree | 3803408eb54d8131c5be22aef431247f47589044 | |
parent | 6587caac774d5914bca93475edeaeb5b36fbea83 (diff) | |
download | bundler-bcc311f522248842798a17a412076667ebda12ee.tar.gz |
Properly set path for subprocesses
-rw-r--r-- | spec/support/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index e556292774..8bfa801209 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -91,7 +91,7 @@ module Spec end env = options.delete(:env) || {} - env["PATH"].gsub!("#{Path.root}/exe", "") if env["PATH"] && system_bundler + env["PATH"] = ENV["PATH"].gsub("#{Path.root}/exe", "") if system_bundler requires = options.delete(:requires) || [] requires << "support/hax" |