Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
remove source_types conditional in Resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
sealocal authored and indirect committed Apr 14, 2015
1 parent dc442f4 commit 70262b2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/bundler/resolver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70262b2

Please sign in to comment.