save_plugins(plugins, specs, optional_plugins = [])
public
Post installation processing and registering with index
@param [Array] plugins list to be
installed @param [Hash] specs of plugins mapped to
installation path (currently they
contain all the installed specs, including plugins)
@param [Array] names of inferred source plugins that can be ignored
# File lib/bundler/plugin.rb, line 198
def save_plugins(plugins, specs, optional_plugins = [])
plugins.each do |name|
spec = specs[name]
validate_plugin! Pathname.new(spec.full_gem_path)
installed = register_plugin(name, spec, optional_plugins.include?(name))
Bundler.ui.info "Installed plugin #{name}" if installed
end
end