Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove totally unnecessary error that was causing a failing spec

  • Loading branch information...
commit 6cdfb85d5fd2f91bb49b2821f5b5204a0cbebf4f 1 parent b2387c6
@indirect indirect authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/bundler/resolver.rb
View
6 lib/bundler/resolver.rb
@@ -280,9 +280,6 @@ def resolve(reqs, activated)
raise GemNotFound, message
else
@errors[current.name] = [nil, current]
- message = "Bundler could not find gem '#{clean_req(current)}', "
- message << "which is required by gem '#{clean_req(current.required_by.last)}.'"
- raise GemNotFound, message
end
end
@@ -452,7 +449,8 @@ def error_message
# the rest of the time, the gem cannot be found because it does not exist in the known sources
else
if requirement.required_by.first
- o << "Could not find gem '#{clean_req(requirement)}', required by '#{clean_req(requirement.required_by.first)}', in any of the sources\n"
+ o << "Could not find gem '#{clean_req(requirement)}', which is required by "
+ o << "gem '#{clean_req(requirement.required_by.first)}', in any of the sources."
else
o << "Could not find gem '#{clean_req(requirement)} in any of the sources\n"
end
Please sign in to comment.
Something went wrong with that request. Please try again.