lib/bundler/installer/parallel_installer.rb
# Keys in the remains hash represent uninstalled gems specs.
# We enqueue all gem specs that do not have any dependencies.
# Later we call this lambda again to install specs that depended on
# previously installed specifications. We continue until all specs
# are installed.
Keys in the remains hash represent uninstalled gems specs.
We enqueue all gem specs that do not have any dependencies.
Later we call this lambda again to install specs that depended on
previously installed specifications. We continue until all specs
are installed.
Keys in the remains hash represent uninstalled gems specs . We enqueue all gem specs that do not have any dependencies . Later we call this lambda again to install specs that depended on previously installed specifications . We continue until all specs are installed .
def enqueue_specs
    @specs.select(&:ready_to_enqueue?).each do |spec|
      if spec.dependencies_installed? @specs
        worker_pool.enq spec
        spec.state = :enqueued
      end
    end
  end
def enqueue_specs @specs . select ( & :ready_to_enqueue? ) . each do | spec | if spec . dependencies_installed? @specs worker_pool . enq spec spec . state = :enqueued end end end
Keys in the remains hash represent uninstalled gems specs.
Keys in the remains hash represent uninstalled gems specs .