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::LockSpecification#install
install(options = {}) { |nil| ... }
lib/rubygems/resolver/lock_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/resolver/lock_specification.rb, line 29
def install(options = {})
destination = options[:install_dir] || Gem.dir
if File.exist? File.join(destination, "specifications", spec.spec_name)
yield nil
return
end
super
end
This is a null install as a locked specification is considered installed. options are ignored.