class Bundler::Plugin::Installer

def install_all_sources(names, version, source_list, source = nil)

def install_all_sources(names, version, source_list, source = nil)
  deps = names.map {|name| Dependency.new(name, version, { "source" => source }) }
  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