mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] More portable PATH edition
https://github.com/rubygems/rubygems/commit/a6d50afad0
This commit is contained in:
parent
22ee047f73
commit
414b1485d6
Notes:
git
2020-06-18 19:15:00 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue