Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update minimum Ruby version 3.2 (#20955)

David Taylore014635a127d
diff --git a/config/application.rb b/config/application.rb
index 466fe3fcc97..f436921ec62 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.1.0")
- STDERR.puts "Discourse requires Ruby 3.1 or above"
+if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2.0")
+ STDERR.puts "Discourse requires Ruby 3.2 or above"
exit 1
end