[rubygems/rubygems] Don't load system rubygems during tests

Since tests are about testing our development copy of rubygems, not
whatever is installed in the system.

https://github.com/rubygems/rubygems/commit/f5e0b68cdd
This commit is contained in:
David Rodríguez 2021-12-08 22:33:55 +01:00 committed by git
parent 82bb9cedd3
commit 45c5794d32
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
def test_execute
@cmd.options[:args] = %w[foo]
@cmd.options[:editor] = "#{Gem.ruby} -eexit --"
@cmd.options[:editor] = "#{ruby_with_rubygems_in_load_path} -eexit --"
gem 'foo', '1.0.0'
spec = gem 'foo', '1.0.1'