class Bundler::ParallelInstaller
def enqueue_specs
previously installed specifications. We continue until all specs
Later we call this lambda again to install specs that depended on
We enqueue all gem specs that do not have any dependencies.
Keys in the remains hash represent uninstalled gems specs.
def enqueue_specs @specs.select(&:ready_to_enqueue?).each do |spec| next if @rake && !@rake.installed? && spec.name != @rake.name if spec.dependencies_installed? @specs spec.state = :enqueued worker_pool.enq spec end end end