Skip to content

Commit

Permalink
Add post install message for Ruby < 3.2 users
Browse files Browse the repository at this point in the history
As per #686
  • Loading branch information
radar committed Sep 15, 2024
1 parent 1fbc930 commit 6d0c2ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions i18n.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.required_rubygems_version = '>= 1.3.5'
s.required_ruby_version = '>= 2.3.0'
s.post_install_message = if RUBY_VERSION < '3.2'
"PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem."
end

s.add_dependency 'concurrent-ruby', '~> 1.0'
end

0 comments on commit 6d0c2ce

Please sign in to comment.