diff options
author | Andre Arko <andre@arko.net> | 2015-01-26 18:17:26 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-01-26 18:17:26 -0800 |
commit | cf87c3196e8373e1883cdbd27c67382ff44be5a2 (patch) | |
tree | c37691829a028cf8b8f7e094849eafff0b6d53e8 /lib/bundler/source_list.rb | |
parent | a9e047270adcbe7c0399e5553bb3be48b27f8e64 (diff) | |
download | bundler-cf87c3196e8373e1883cdbd27c67382ff44be5a2.tar.gz |
warn or error on multiple primary sources
Diffstat (limited to 'lib/bundler/source_list.rb')
-rw-r--r-- | lib/bundler/source_list.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb index 49a976ba6a..49efbf7a8e 100644 --- a/lib/bundler/source_list.rb +++ b/lib/bundler/source_list.rb @@ -74,6 +74,10 @@ module Bundler all_sources.each(&:remote!) end + def rubygems_primary_remotes + @rubygems_aggregate.remotes + end + private def add_source_to_list(source, list) |