lib/vagrant/environment.rb in vagrant-0.6.9 vs lib/vagrant/environment.rb in vagrant-0.7.0.beta
- old
+ new
@@ -30,10 +30,10 @@
# Verifies that VirtualBox is installed and that the version of
# VirtualBox installed is high enough.
def check_virtualbox!
version = VirtualBox.version
raise Errors::VirtualBoxNotDetected if version.nil?
- raise Errors::VirtualBoxInvalidVersion, :version => version.to_s if version.to_f < 3.2
+ raise Errors::VirtualBoxInvalidVersion, :version => version.to_s if version.to_f < 4.0
raise Errors::VirtualBoxInvalidOSE, :version => version.to_s if version.to_s.downcase.include?("ose")
rescue Errors::VirtualBoxNotDetected
# On 64-bit Windows, show a special error. This error is a subclass
# of VirtualBoxNotDetected, so libraries which use Vagrant can just
# rescue VirtualBoxNotDetected.