End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::GitSet#prefetch
prefetch(reqs)
lib/rubygems/resolver/git_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/resolver/git_set.rb, line 90
def prefetch(reqs)
return unless @specs.empty?
@repositories.each do |name, (repository, reference)|
source = Gem::Source::Git.new name, repository, reference
source.root_dir = @root_dir
source.remote = @remote
source.specs.each do |spec|
git_spec = Gem::Resolver::GitSpecification.new self, spec, source
@specs[spec.name] = git_spec
end
end
end
Prefetches specifications from the git repositories in this set.