Skip to content

Commit

Permalink
stop throwing uncaught bundlers
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Oct 17, 2010
1 parent d7578f2 commit 74162ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/resolver.rb
Expand Up @@ -231,7 +231,7 @@ def resolve(reqs, activated)
parent ||= existing.required_by.last if existing.respond_to?(:required_by)
# We track the spot where the current gem was activated because we need
# to keep a list of every spot a failure happened.
if parent
if parent && parent.name != 'bundler'
debug { " -> Jumping to: #{parent.name}" }
throw parent.name, existing.respond_to?(:required_by) && existing.required_by.last && existing.required_by.last.name
else
Expand Down

0 comments on commit 74162ad

Please sign in to comment.