Update minimum required Ruby version to 2.3.x

This commit is contained in:
Brendan Coles
2018-03-07 12:51:26 +00:00
parent 7718e35109
commit f6089c70e8
2 changed files with 5 additions and 5 deletions

View File

@@ -5,9 +5,9 @@
#
# @note Version check to ensure BeEF is running Ruby 2.0+
if RUBY_VERSION < '2.2'
if RUBY_VERSION < '2.3'
puts "\n"
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.2 or later."
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.3 or later."
puts "\n"
exit 1
end