diff --git a/beef b/beef index 8fe6052da..4d9bd2dc4 100755 --- a/beef +++ b/beef @@ -14,7 +14,7 @@ $VERBOSE = nil # # @note Version check to ensure BeEF is running Ruby 2.7+ # -min_ruby_version = '2.7' +min_ruby_version = '3.0' if RUBY_VERSION < min_ruby_version puts puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version #{min_ruby_version} or later."