ruby-changes:70115
From: David <ko1@a...>
Date: Thu, 9 Dec 2021 08:58:39 +0900 (JST)
Subject: [ruby-changes:70115] 45c5794d32 (master): [rubygems/rubygems] Don't load system rubygems during tests
https://git.ruby-lang.org/ruby.git/commit/?id=45c5794d32 From 45c5794d325106b212deddeea08477d30bc6df21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 8 Dec 2021 22:33:55 +0100 Subject: [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 --- test/rubygems/test_gem_commands_open_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_commands_open_command.rb b/test/rubygems/test_gem_commands_open_command.rb index 2d62149cc43..29cff1ed974 100644 --- a/test/rubygems/test_gem_commands_open_command.rb +++ b/test/rubygems/test_gem_commands_open_command.rb @@ -21,7 +21,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_open_command.rb#L21 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' -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/