From 70262b2c8bf5999bd8a207ebdfecb6d7e58e9f0c Mon Sep 17 00:00:00 2001 From: sealocal Date: Mon, 13 Apr 2015 13:37:00 -0700 Subject: [PATCH] remove source_types conditional in Resolver --- lib/bundler/resolver.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/bundler/resolver.rb b/lib/bundler/resolver.rb index fe720433145..5ec46acc82c 100644 --- a/lib/bundler/resolver.rb +++ b/lib/bundler/resolver.rb @@ -323,12 +323,7 @@ def verify_gemfile_dependencies_are_found!(requirements) 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