mirror of
https://github.com/beefproject/beef
synced 2026-06-08 13:15:56 +00:00
Update minimum supported Ruby version to 2.2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user