core: check for Ruby 2.0
This commit is contained in:
parent
88bb0a3949
commit
9be6b4f0d3
|
@ -1,3 +1,9 @@
|
||||||
|
# Do a Ruby version check early so we can fail fast before any additional
|
||||||
|
# files are loaded.
|
||||||
|
if RUBY_VERSION < "2.0.0"
|
||||||
|
abort "Vagrant requires Ruby 2.0+"
|
||||||
|
end
|
||||||
|
|
||||||
require 'log4r'
|
require 'log4r'
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue