From 896bbb9fadd10e1ad06ff3fd7d0608acda01ac06 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 13 Jul 2021 20:58:08 +0900 Subject: Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9 --- lib/bundler/plugin/installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bundler/plugin/installer.rb') diff --git a/lib/bundler/plugin/installer.rb b/lib/bundler/plugin/installer.rb index 4cb7ddf5d6..54ce8528cf 100644 --- a/lib/bundler/plugin/installer.rb +++ b/lib/bundler/plugin/installer.rb @@ -77,7 +77,7 @@ module Bundler source_list = SourceList.new source_list.add_git_source(git_source_options) if git_source_options - source_list.add_global_rubygems_remote(rubygems_source) if rubygems_source + Array(rubygems_source).each {|remote| source_list.add_global_rubygems_remote(remote) } if rubygems_source deps = names.map {|name| Dependency.new name, version } -- cgit v1.2.3