Class: Veewee::Provider::Vmfusion::Provider

Inherits:
Core::Provider show all
Defined in:
lib/veewee/provider/vmfusion/provider.rb

Instance Attribute Summary

Attributes inherited from Core::Provider

#env, #name, #options, #type

Instance Method Summary (collapse)

Methods inherited from Core::Provider

available?, #gem_available?, #gems_available?, #get_box, #initialize

Methods included from Core::Helper::Shell

#shell_exec

Constructor Details

This class inherits a constructor from Veewee::Provider::Core::Provider

Instance Method Details

- (Object) check_requirements

include ::Veewee::Provider::Vmfusion::ProviderCommand



10
11
12
13
14
# File 'lib/veewee/provider/vmfusion/provider.rb', line 10

def check_requirements
  unless File.exists?("/Library/Application Support/VMware Fusion/vmrun")
    raise Veewee::Error,"The file /Library/Application Support/VMware Fusion/vmrun does not exists. Probably you don't have Vmware fusion installed"
  end
end