This repository was archived by the owner on Jan 25, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -372,14 +372,14 @@ Vagrant.require_version ">= 2.1"
372372
373373vboxmanage = Vagrant ::Util ::Which . which ( "VBoxManage" ) || Vagrant ::Util ::Which . which ( "VBoxManage.exe" )
374374if vboxmanage == nil
375- raise "WPLib Box needs VirtualBox 5.2 or greater.\n \n " \
376- "\t Please download and install VirtualBox from https ://www.virtualbox.org/wiki/Downloads\n "
375+ abort " \n WPLib Box needs VirtualBox 5.2 or greater.\n " \
376+ "Please download and install VirtualBox from: \n \n \t https ://www.virtualbox.org/wiki/Downloads\n "
377377else
378378 version = Vagrant ::Util ::Subprocess . execute ( vboxmanage , '--version' )
379379 version = Gem ::Version . create ( version . stdout . strip! )
380- unless version >= Gem ::Version . create ( '5.2 ' )
381- raise "WPLib Box needs VirtualBox 5.2 or greater. Your current version is " + version . version + "\n \n " \
382- "\t Please download a newer version of VirtualBox from https ://www.virtualbox.org/wiki/Downloads\n "
380+ unless version >= Gem ::Version . create ( '5.3 ' )
381+ abort " \n WPLib Box needs VirtualBox 5.2 or greater. Your current version is " + version . version + "\n " \
382+ "Please download a newer version of VirtualBox from: \n \n \t https ://www.virtualbox.org/wiki/Downloads\n "
383383 end
384384end
385385
You can’t perform that action at this time.
0 commit comments