summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-23 15:01:49 -0800
committerAndre Arko <andre@arko.net>2015-01-23 15:02:14 -0800
commit6f53d616b642e3baeb36464567253a5dfa5a7bef (patch)
tree795cd54b7d1ca042f35cb606b2bce7bf96e06a25
parentf470583ade852852243aadbcfcb2d8abb3576dfe (diff)
downloadbundler-6f53d616b642e3baeb36464567253a5dfa5a7bef.tar.gz
expand the multiple-source warning
[ci skip]
-rw-r--r--lib/bundler/cli/install.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 7f3aae15d5..78f2a1a522 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -104,6 +104,7 @@ module Bundler
Bundler.ui.error "You should add a source requirement to restrict this gem to your preferred source."
Bundler.ui.error "For example:"
Bundler.ui.error " gem '#{name}', :source => '#{installed_from_uri}'"
+ Bundler.ui.error "Then uninstall the gem '#{name}' (or delete all bundled gems) and then install again."
end
if Bundler.settings[:clean] && Bundler.settings[:path]