class Bundler::Plugin::Installer
def install_rubygems(names, version, sources)
-
(Hash)
- map of names to the specs of plugins installed
Parameters:
-
source(s)
(String, Array
) -- to resolve the gem -
version
(Array
) -- of the gem to install -
name
(String
) -- of the plugin gem to search in the source
def install_rubygems(names, version, sources) source_list = SourceList.new Array(sources).each {|remote| source_list.add_global_rubygems_remote(remote) } install_all_sources(names, version, source_list) end