class Bundler::ParallelInstaller

def call

def call
  check_for_corrupt_lockfile
  if @size > 1
    install_with_worker
  else
    install_serially
  end
  handle_error if failed_specs.any?
  @specs
ensure
  worker_pool && worker_pool.stop
end