class Bundler::Plugin::Installer
def install_all_sources(names, version, git_source_options, rubygems_source)
def install_all_sources(names, version, git_source_options, rubygems_source) source_list = SourceList.new source_list.add_git_source(git_source_options) if git_source_options Array(rubygems_source).each {|remote| source_list.add_global_rubygems_remote(remote) } if rubygems_source deps = names.map {|name| Dependency.new name, version } Bundler.configure_gem_home_and_path(Plugin.root) Bundler.settings.temporary(:deployment => false, :frozen => false) do definition = Definition.new(nil, deps, source_list, true) install_definition(definition) end end