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

Version Path
veewee-0.5.0.alpha4 lib/veewee/provider/virtualbox/provider.rb
veewee-0.5.0.alpha3 lib/veewee/provider/virtualbox/provider.rb
veewee-0.5.0.alpha2 lib/veewee/provider/virtualbox/provider.rb
veewee-0.5.0.alpha1 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.5.1 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.5 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.5.pre1 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.4 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.3 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.2 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.1 lib/veewee/provider/virtualbox/provider.rb
veewee-0.4.0 lib/veewee/provider/virtualbox/provider.rb
veewee-0.3.12 lib/veewee/provider/virtualbox/provider.rb
veewee-0.3.11 lib/veewee/provider/virtualbox/provider.rb
veewee-0.3.10 lib/veewee/provider/virtualbox/provider.rb
veewee-0.3.9 lib/veewee/provider/virtualbox/provider.rb