class Bundler::Plugin::Installer
def install(names, options)
def install(names, options) check_sources_consistency!(options) version = options[:version] || [">= 0"] if options[:git] install_git(names, version, options) elsif options[:path] install_path(names, version, options[:path]) else sources = options[:source] || Gem.sources install_rubygems(names, version, sources) end end