[前][次][番号順一覧][スレッド一覧]

ruby-changes:66314

From: David <ko1@a...>
Date: Fri, 28 May 2021 12:17:47 +0900 (JST)
Subject: [ruby-changes:66314] a634ef5376 (master): [rubygems/rubygems] Fix "instance variable not initialized" warning

https://git.ruby-lang.org/ruby.git/commit/?id=a634ef5376

From a634ef53764e9160cb984d01e92e3e596bf41dae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 26 May 2021 19:58:52 +0200
Subject: [rubygems/rubygems] Fix "instance variable not initialized" warning

This variable had a typo (it's `@gemhome`), but the test is still
passing, so I assume it's not needed.

https://github.com/rubygems/rubygems/commit/3b88642bdb
---
 test/rubygems/test_gem_installer.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index cbdb4f9..e51a395 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -740,7 +740,6 @@ gem 'other', version https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_installer.rb#L740
 
     installer = Gem::Installer.at(
       gem_with_dangling_symlink,
-      :install_dir => @gem_home,
       :user_install => false,
       :force => true
     )
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]