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

ruby-changes:61327

From: Nobuyoshi <ko1@a...>
Date: Fri, 22 May 2020 21:25:29 +0900 (JST)
Subject: [ruby-changes:61327] ef13558fcd (master): Revert a commit miss in "Fixed potential memory leak"

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

From ef13558fcd99dc2057cbfc0973f9592f0f8b3071 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 22 May 2020 21:21:50 +0900
Subject: Revert a commit miss in "Fixed potential memory leak"

This reverts an unintentional change in commit
79d9528ddca1dfe2dd99287dc88fd7c2b30f7137.

diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index cce2967..cf67685 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -189,7 +189,6 @@ class Gem::Installer https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L189
     if options[:user_install]
       @gem_home = Gem.user_dir
       @bin_dir = Gem.bindir gem_home unless options[:bin_dir]
-      @plugins_dir = Gem.plugindir(gem_home)
       check_that_user_bin_dir_is_in_path
     end
   end
-- 
cgit v0.10.2


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

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