Class: Homebrew
- Defined in:
- lib/exogenesis/passengers/homebrew.rb
Overview
Manages Homebrew - the premier package manager for Mac OS
Constant Summary collapse
- INSTALL_SCRIPT =
'https://raw.github.com/mxcl/homebrew/go'
- TEARDOWN_SCRIPT =
'https://gist.github.com/mxcl/1173223/raw/a833ba44e7be8428d877e58640720ff43c59dbad/uninstall_homebrew.sh'
Instance Method Summary collapse
Methods inherited from Passenger
by_name, emoji_name, #initialize, needs, register_as, with_emoji
Constructor Details
This class inherits a constructor from Passenger
Instance Method Details
#clean ⇒ Object
18 19 20 |
# File 'lib/exogenesis/passengers/homebrew.rb', line 18 def clean execute 'Clean Up', 'brew cleanup' end |
#down ⇒ Object
22 23 24 |
# File 'lib/exogenesis/passengers/homebrew.rb', line 22 def down execute 'Teardown', "\\curl -L #{TEARDOWN_SCRIPT} | bash -s" end |
#up ⇒ Object
12 13 14 15 16 |
# File 'lib/exogenesis/passengers/homebrew.rb', line 12 def up install_homebrew install_missing_brews update_existing_brews end |