From 414b1485d6c87182e1797049346f8fff37904c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 16 Apr 2020 21:01:58 +0200 Subject: [rubygems/rubygems] More portable PATH edition https://github.com/rubygems/rubygems/commit/a6d50afad0 --- spec/bundler/support/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/support') 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 -- cgit v1.2.3