Class: Busser::Command::PluginInstall

Inherits:
Thor::BaseGroup show all
Includes:
RubyGems
Defined in:
lib/busser/command/plugin_install.rb

Overview

Plugin install command.

Author:

Instance Method Summary collapse

Methods included from RubyGems

gem_installed?, install_gem, rbg_options, silence_gem_ui

Methods included from UI

banner, die, fatal, handle_command, info, run!, run_ruby_script!, status, warn

Methods included from Helpers

chef_apply, install_gem, root_path, suite_path, vendor_path

Instance Method Details

#install_allObject



44
45
46
47
48
49
50
51
52
53
# File 'lib/busser/command/plugin_install.rb', line 44

def install_all
  if options[:verbose]
    Gem.configuration.verbose = 2 if options[:verbose]
    info("Using http_proxy=#{rbg_options[:http_proxy].inspect}")
  end

  silence_gem_ui do
    plugins.each { |plugin| install(plugin) }
  end
end