Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::RequestSet#load_gemdeps
load_gemdeps(path, without_groups = [], installing = false)
lib/rubygems/request_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/request_set.rb, line 321
def load_gemdeps(path, without_groups = [], installing = false)
@git_set = Gem::Resolver::GitSet.new
@vendor_set = Gem::Resolver::VendorSet.new
@source_set = Gem::Resolver::SourceSet.new
@git_set.root_dir = @install_dir
lock_file = "#{File.expand_path(path)}.lock"
if File.exist?(lock_file)
load_lockfile lock_file
end
gf = Gem::RequestSet::GemDependencyAPI.new self, path
gf.installing = installing
gf.without_groups = without_groups if without_groups
gf.load
end
Load a dependency management file.
See also
#install_into
#resolve
#install_hooks
#resolve_current
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0