diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-04-16 21:01:58 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 414b1485d6c87182e1797049346f8fff37904c40 (patch) | |
tree | 485ea6b34f520d5e82c1ae8915104058d7d65c65 /spec/bundler/support | |
parent | 22ee047f7328f05e75634d4c4b177a94642c4032 (diff) |
[rubygems/rubygems] More portable PATH edition
https://github.com/rubygems/rubygems/commit/a6d50afad0
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index 3c036aa5fe..25747b9546 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -344,7 +344,7 @@ module Spec end def with_path_added(path) - with_path_as(path.to_s + ":" + ENV["PATH"]) do + with_path_as([path.to_s, ENV["PATH"]].join(File::PATH_SEPARATOR)) do yield end end |