class Bundler::Installer
def run(options)
def run(options) if actual_dependencies.empty? Bundler.ui.warn "The Gemfile specifies no dependencies" return end # Ensure that BUNDLE_PATH exists FileUtils.mkdir_p(Bundler.bundle_path) # Must install gems in the order that the resolver provides # as dependencies might actually affect the installation of # the gem. specs.each do |spec| spec.source.fetch(spec) if spec.source.respond_to?(:fetch) unless requested_specs.include?(spec) Bundler.ui.debug " * Not in requested group; skipping." next end if [Source::Rubygems, Source::GemCache].include?(spec.source.class) Bundler.ui.info "Installing #{spec.name} (#{spec.version}) from #{spec.source}" else Bundler.ui.info "Using #{spec.name} (#{spec.version}) from #{spec.source}" end spec.source.install(spec) end if locked? write_rb_lock end end