summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Moore <tmoore@incrementalism.net>2014-07-17 12:58:33 +1000
committerTim Moore <tmoore@incrementalism.net>2014-07-30 14:16:36 +1000
commite5bdbddb618394b4ae2b1b47ec6437ccd9aba264 (patch)
tree1eb5a593bef4ea8d93718b794461f56d533ddc25 /lib
parentc94b6fd6efcf71a8e147589f77963d0bce49c6cf (diff)
downloadbundler-e5bdbddb618394b4ae2b1b47ec6437ccd9aba264.tar.gz
Don't warn on system gems.
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source/rubygems.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 178c186eef..d31acdb980 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -79,6 +79,7 @@ module Bundler
# Check for this spec from other sources
uris = [spec.source_uri]
uris += source_uris_for_spec(spec)
+ uris.compact!
uris.uniq!
Installer.ambiguous_gems << [spec.name, *uris] if uris.length > 1