diff --git a/beef b/beef index d894654f9..0942b0153 100755 --- a/beef +++ b/beef @@ -12,11 +12,11 @@ $VERBOSE = nil # -# @note Version check to ensure BeEF is running Ruby 2.2+ +# @note Version check to ensure BeEF is running Ruby 2.3+ # -if RUBY_VERSION < '2.2' +if RUBY_VERSION < '2.3' puts - 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 exit 1 end diff --git a/test/common/ts_common.rb b/test/common/ts_common.rb index 219afc1b5..e758263d2 100644 --- a/test/common/ts_common.rb +++ b/test/common/ts_common.rb @@ -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