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[:local_git] install_local_git(names, version, options) else sources = options[:source] || Gem.sources install_rubygems(names, version, sources) end end