summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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