Ruby 3.2 contains a number of kwargs fixes, and Rails 7 may be a
prerequisite for Ruby 3.2. We'll want to test and deploy Ruby 3.1
before jumping to 3.2.
Ruby 3.1 requires at least rubygems v3.1.3. Let's just bump
everything to 3.4, and consolidate the Ruby 3.2 build.
Previously we had to remember to apply specific patches for each
version of Ruby, and it was easy to forget. Let's just simplify this
by applying patches for the major and minor versions (e.g. 2.7, 3.0,
etc.).
The ruby-2.7 tags will always contain the latest
patch released for that minor version.
This allows us to ship patches more easily but
retains backwards compatibility with existing
repos asking for 2.7.2.
These patches are necessary to fix https://bugs.ruby-lang.org/issues/17725
which is unreleased.
This is currently breaking our Ruby 3 build, so until 3.0.3 is out
let's apply these independently.