Class: Veewee::Provider::Virtualbox::Provider
- Inherits:
-
Core::Provider
- Object
- Core::Provider
- Veewee::Provider::Virtualbox::Provider
- Defined in:
- lib/veewee/provider/virtualbox/provider.rb
Instance Attribute Summary
Attributes inherited from Core::Provider
Instance Method Summary collapse
-
#check_requirements ⇒ Object
include ::Veewee::Provider::Virtualbox::ProviderCommand.
Methods inherited from Core::Provider
available?, #gem_available?, #gems_available?, #get_box, #initialize, #ui
Methods included from Core::Helper::Shell
Constructor Details
This class inherits a constructor from Veewee::Provider::Core::Provider
Instance Method Details
#check_requirements ⇒ Object
include ::Veewee::Provider::Virtualbox::ProviderCommand
10 11 12 13 14 |
# File 'lib/veewee/provider/virtualbox/provider.rb', line 10 def check_requirements unless self.shell_exec("VBoxManage -v").status == 0 raise Veewee::Error,"Could not execute VBoxManage command. Please install Virtualbox or make sure VBoxManage is in the Path" end end |