Module: VagrantBindfs::Vagrant::Capabilities::Darwin::Bindfs
- Defined in:
- lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb
Overview
:nodoc:
Class Method Summary collapse
- .bindfs_bindfs_install(machine) ⇒ Object
-
.bindfs_bindfs_install_compilation_requirements(machine) ⇒ Object
Homebrew requires the development tools to be installed.
- .bindfs_bindfs_install_version(machine) ⇒ Object
-
.bindfs_bindfs_search(_machine) ⇒ Object
Homebrew only use its own github repositories.
-
.bindfs_bindfs_search_version(_machine, _version) ⇒ Object
Homebrew does not provide any method to install an older version of a formula.
Class Method Details
.bindfs_bindfs_install(machine) ⇒ Object
14 15 16 17 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 14 def bindfs_bindfs_install(machine) machine.guest.capability(:bindfs_package_manager_update) machine.communicate.execute('brew install homebrew/fuse/bindfs') end |
.bindfs_bindfs_install_compilation_requirements(machine) ⇒ Object
Homebrew requires the development tools to be installed
30 31 32 33 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 30 def bindfs_bindfs_install_compilation_requirements(machine) machine.guest.capability(:bindfs_package_manager_update) machine.communicate.execute('brew install autoconf automake libtool pkg-config wget') end |
.bindfs_bindfs_install_version(machine) ⇒ Object
25 26 27 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 25 def bindfs_bindfs_install_version(machine) # Pass end |
.bindfs_bindfs_search(_machine) ⇒ Object
Homebrew only use its own github repositories
10 11 12 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 10 def bindfs_bindfs_search(_machine) true end |
.bindfs_bindfs_search_version(_machine, _version) ⇒ Object
Homebrew does not provide any method to install an older version of a formula
21 22 23 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 21 def bindfs_bindfs_search_version(_machine, _version) false end |