Bump the minimum Ruby version to 3.1#2442
Merged
Merged
Conversation
This commit bumps the minimum Ruby version to 3.1 - Rails 7.2 requires Ruby 3.1 rails/rails#50491 https://guides.rubyonrails.org/7_2_release_notes.html#make-ruby-3-1-the-new-minimum-version - Remove workaround for Ruby 2.7 rsim@8cb2077 ```ruby % ruby -v ruby 3.1.7p261 (2025-03-26 revision 0a3704f218) [arm64-darwin25] % gem -v 3.3.27 % bundler -v Bundler version 2.3.27 % gem update --system Updating rubygems-update Fetching rubygems-update-3.6.9.gem Successfully installed rubygems-update-3.6.9 Parsing documentation for rubygems-update-3.6.9 Installing ri documentation for rubygems-update-3.6.9 Done installing documentation for rubygems-update after 2 seconds Parsing documentation for rubygems-update-3.6.9 Done installing documentation for rubygems-update after 0 seconds Installing RubyGems 3.6.9 Successfully built RubyGem Name: bundler Version: 2.6.9 File: bundler-2.6.9.gem Bundler 2.6.9 installed RubyGems 3.6.9 installed Regenerating binstubs Regenerating plugins Parsing documentation for rubygems-3.6.9 Installing ri documentation for rubygems-3.6.9 ... snip ... RubyGems system software updated ~ % gem -v 3.6.9 ``` - Bump the TargetRubyVersion in .rubocop.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request bumps the minimum Ruby version to 3.1
Rails 7.2 requires Ruby 3.1 Bump the required Ruby version to 3.1.0 rails/rails#50491
https://guides.rubyonrails.org/7_2_release_notes.html#make-ruby-3-1-the-new-minimum-version
Remove workaround for Ruby 2.7 8cb2077