DEV: Update minimum Ruby version 3.2 (#20955)
We are now using features like Regex.timeout, which are only supported in Ruby 3.2
This commit is contained in:
parent
8de45602ff
commit
e014635a12
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.1.0")
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2.0")
|
||||||
STDERR.puts "Discourse requires Ruby 3.1 or above"
|
STDERR.puts "Discourse requires Ruby 3.2 or above"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue