method
call
ruby latest stable - Class:
Bundler::ParallelInstaller
call()public
No documentation available.
# File lib/bundler/installer/parallel_installer.rb, line 93
def call
# Since `autoload` has the potential for threading issues on 1.8.7
# TODO: remove in bundler 2.0
require "bundler/gem_remote_fetcher" if RUBY_VERSION < "1.9"
check_for_corrupt_lockfile
if @size > 1
install_with_worker
else
install_serially
end
handle_error if @specs.any?(&:failed?)
@specs
ensure
worker_pool && worker_pool.stop
end