summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-06-09 01:04:54 +0200
committergit <svn-admin@ruby-lang.org>2022-06-11 18:43:26 +0900
commit6292b36529c06c730d452c2bf2f18a82b02062bb (patch)
treecbdc446045856f820501c9dac27c7455b78e952f /lib/bundler/source
parent52cc76d134e963a9943d0379f5bc2991a01f7d1e (diff)
[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
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/rubygems.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index b5f7296243..1617f1831e 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -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