Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Resolver::InstallerSet#add_local
add_local(dep_name, spec, source)
lib/rubygems/resolver/installer_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/resolver/installer_set.rb, line 106
def add_local(dep_name, spec, source)
@local[dep_name] = [spec, source]
end
Adds a local gem requested using dep_name with the given spec that can be loaded and installed using the source.