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-24 12:39:08 -0800
commit158802cc93f32637a74279d350f4f2891b0ef4ca (patch)
tree88f9413c509f1d5377573b0e40b791118fd875c5
parent7c260be63a359edea87caa9d8b9971c491a478d6 (diff)
downloadbundler-158802cc93f32637a74279d350f4f2891b0ef4ca.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 80f9fd50e6..b2f16ed26f 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -102,6 +102,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]