Sha256: 7eb49f050f8e5a959210b58d085fe3153289de5a9187b1f3bcec622f919c613e
Contents?: true
Size: 636 Bytes
Versions: 16
Compression:
Stored size: 636 Bytes
Contents
require 'veewee/provider/core/provider' require 'veewee/provider/virtualbox/box' module Veewee module Provider module Virtualbox class Provider < Veewee::Provider::Core::Provider # include ::Veewee::Provider::Virtualbox::ProviderCommand def check_requirements command = Box.determine_vboxcmd unless self.shell_exec("#{command} -v").status == 0 raise Veewee::Error,"Could not execute VBoxManage command. Please install Virtualbox or make sure VBoxManage is in the Path" end end end #End Class end # End Module end # End Module end # End Module
Version data entries
16 entries across 16 versions & 1 rubygems