summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-04-27 22:17:30 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commitc74d306b22606da28669264f8c449fe697c1fd3f (patch)
treec3ef022b39bd8282b58b9d94410672cf847c0952
parentd2087f1cde7810c76f6eb94553a24f760636e72c (diff)
[rubygems/rubygems] Only need to call helper once
https://github.com/rubygems/rubygems/commit/6ddbf5bcab
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
-rw-r--r--lib/rubygems/commands/setup_command.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb
index b330b8ae03..37a305eb3a 100644
--- a/lib/rubygems/commands/setup_command.rb
+++ b/lib/rubygems/commands/setup_command.rb
@@ -324,9 +324,7 @@ By default, this RubyGems will install gem as:
pem_files = pem_files_in path
Dir.chdir path do
- install_file_list(lib_files, lib_dir)
-
- install_file_list(pem_files, lib_dir)
+ install_file_list(lib_files + pem_files, lib_dir)
end
end
end