Module: VagrantBindfs::Vagrant::Capabilities::Darwin::PackageManager
- Defined in:
- lib/vagrant-bindfs/vagrant/capabilities/darwin/package_manager.rb
Overview
:nodoc:
Class Method Summary collapse
- .bindfs_package_manager_install(machine) ⇒ Object
- .bindfs_package_manager_name(_machine) ⇒ Object
- .bindfs_package_manager_update(machine) ⇒ Object
Class Method Details
.bindfs_package_manager_install(machine) ⇒ Object
13 14 15 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/package_manager.rb', line 13 def bindfs_package_manager_install(machine) machine.communicate.execute('/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"') end |
.bindfs_package_manager_name(_machine) ⇒ Object
9 10 11 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/package_manager.rb', line 9 def bindfs_package_manager_name(_machine) 'brew' end |
.bindfs_package_manager_update(machine) ⇒ Object
17 18 19 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/package_manager.rb', line 17 def bindfs_package_manager_update(machine) machine.communicate.execute('brew update') end |