We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92888e commit 7fce340Copy full SHA for 7fce340
test/gem_installation.rb
@@ -22,7 +22,7 @@ def run_gem_installation_test(gem_bin, gem_module)
22
gem_file = gem_build.lines.grep(/File:/).first.split.last
23
gem_file = File.expand_path(File.join(gem_dir, gem_file))
24
25
- env = { 'GEM_HOME' => gem_home, 'GEM_PATH' => gem_home, 'PATH' => "#{gem_home}/bin:#{ENV['PATH']}" }
+ env = { 'GEM_HOME' => gem_home, 'GEM_PATH' => gem_home, 'PATH' => "#{gem_home}#{File::SEPARATOR}bin#{File::PATH_SEPARATOR}#{ENV['PATH']}" }
26
system(env, 'gem', 'install', '--local', gem_file, exception: true)
27
28
out_dir = File.join('test', 'tmp', "gem_install_#{gem_bin.tr('-', '_')}")
0 commit comments