diff options
-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" |