Update minimum supported Ruby version to 2.2

This commit is contained in:
Brendan Coles
2017-04-10 18:43:16 +00:00
parent a03164f212
commit d7fd3acf23
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -5,9 +5,9 @@
#
# @note Version check to ensure BeEF is running Ruby 2.0+
if RUBY_VERSION < '2.0'
if RUBY_VERSION < '2.2'
puts "\n"
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.0 or later."
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.2 or later."
puts "\n"
exit 1
end