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) if spec.groups & Bundler.settings.without == spec.groups Bundler.ui.debug " * Not in requested group; skipping." next end # unless spec.source.is_a?(Source::SystemGems) Bundler.ui.info "Installing #{spec.name} (#{spec.version}) from #{spec.source} " # end spec.source.install(spec) Bundler.ui.info "" end Bundler.ui.confirm "Your bundle is complete!" end