summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsealocal <local.mat@gmail.com>2015-04-13 13:37:00 -0700
committerAndre Arko <andre@arko.net>2015-04-13 18:51:28 -0700
commit70262b2c8bf5999bd8a207ebdfecb6d7e58e9f0c (patch)
treed2f55f16d90f26cfd7e9cb541662a3ff86fd1e8b
parentdc442f4ff848ed1a550a4437293c14fb71dae9ef (diff)
downloadbundler-70262b2c8bf5999bd8a207ebdfecb6d7e58e9f0c.tar.gz
remove source_types conditional in Resolver
-rw-r--r--lib/bundler/resolver.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/bundler/resolver.rb b/lib/bundler/resolver.rb
index fe72043314..5ec46acc82 100644
--- a/lib/bundler/resolver.rb
+++ b/lib/bundler/resolver.rb
@@ -323,12 +323,7 @@ module Bundler
message << "Source does not contain any versions of '#{requirement}'"
end
else
- message = "Could not find gem '#{requirement}' "
- if Bundler.definition.has_rubygems_remotes?
- message << "in any of the gem sources listed in your Gemfile or installed on this machine."
- else
- message << "in the gems available on this machine."
- end
+ message = "Could not find gem '#{requirement}' in any of the gem sources listed in your Gemfile or installed on this machine."
end
raise GemNotFound, message
end