mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Require open3 before using it
Otherwise if this test file is run in isolation, this test will fail. https://github.com/rubygems/rubygems/commit/79da003948
This commit is contained in:
parent
5df6082786
commit
c832e3faa4
Notes:
git
2020-05-08 14:14:09 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ class TestGem < Gem::TestCase
|
|||
|
||||
install_specs a1
|
||||
|
||||
require "open3"
|
||||
output, status = Open3.capture2e(
|
||||
{ "GEM_HOME" => Gem.paths.home, "DEBUG_RESOLVER" => "1" },
|
||||
*ruby_with_rubygems_in_load_path, "-e", "\"Gem.activate_bin_path('a', 'exec', '>= 0')\""
|
||||
|
|
Loading…
Reference in a new issue