Skip to content

Commit

Permalink
Remove unclear comment
Browse files Browse the repository at this point in the history
This is the explanation of why we do the swapping, not of why we
download the gem.
  • Loading branch information
deivid-rodriguez committed Jun 9, 2022
1 parent 796eebf commit 1a25eb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bundler/lib/bundler/source/rubygems.rb
Expand Up @@ -149,8 +149,6 @@ def install(spec, options = {})
return nil # no post-install message
end

# Download the gem to get the spec, because some specs that are returned
# by rubygems.org are broken and wrong.
if spec.remote
# Check for this spec from other sources
uris = [spec.remote, *remotes_for_spec(spec)].map(&:anonymized_uri).uniq
Expand Down

0 comments on commit 1a25eb7

Please sign in to comment.