зеркало из https://github.com/github/ruby.git
[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:
Родитель
5df6082786
Коммит
c832e3faa4
|
@ -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')\""
|
||||
|
|
Загрузка…
Ссылка в новой задаче