Method: Bundler::Installer.install

Defined in:
lib/bundler/installer.rb

.install(root, definition, options = {}) ⇒ Object

Begins the installation process for Bundler. For more information see the #run method on this class.


20
21
22
23
24
25
26
# File 'lib/bundler/installer.rb', line 20

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