[rubygems/rubygems] Remove unclear comment

This is the explanation of why we do the swapping, not of why we
download the gem.

https://github.com/rubygems/rubygems/commit/1a25eb7e7b
This commit is contained in:
David Rodríguez 2022-06-09 01:04:54 +02:00 committed by git
parent 52cc76d134
commit 6292b36529

View File

@ -149,8 +149,6 @@ module Bundler
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