install(root, definition, options = {})
public
Begins the installation process for Bundler.
For more information see the #run
method on this class.
# File lib/bundler/installer.rb, line 22
def self.install(root, definition, options = {})
installer = new(root, definition)
Plugin.hook(Plugin::Events::GEM_BEFORE_INSTALL_ALL, definition.dependencies)
installer.run(options)
Plugin.hook(Plugin::Events::GEM_AFTER_INSTALL_ALL, definition.dependencies)
installer
end