diff --git a/INSTALL.txt b/INSTALL.txt index 152273267..8aad8a26e 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -21,9 +21,9 @@ Or cloning the Git repository from Github: Prerequisites -------------- -BeEF requires Ruby 2.7+. +BeEF requires Ruby 3.0+. -If your operating system package manager does not support Ruby version 2.7, +If your operating system package manager does not support Ruby version 3.0, you can add the brightbox ppa repository for the latest version of Ruby: $ sudo apt-add-repository -y ppa:brightbox/ruby-ng diff --git a/beef b/beef index 8fe6052da..cf6bd7216 100755 --- a/beef +++ b/beef @@ -12,9 +12,9 @@ $VERBOSE = nil # -# @note Version check to ensure BeEF is running Ruby 2.7+ +# @note Version check to ensure BeEF is running Ruby 3.0+ # -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."