mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 20:23:44 +08:00
Bump minimum Ruby version to 3.1 (#19848)
This commit is contained in:
parent
5dcb245eac
commit
ab9ea50917
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.7.0")
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.1.0")
|
||||||
STDERR.puts "Discourse requires Ruby 2.7 or above"
|
STDERR.puts "Discourse requires Ruby 3.1 or above"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user