Make Ruby 3.1 the default for all builds
Related to gitlab-org&10034. Once GitLab.com is running on Ruby 3.1 and we are confident to ship it to users, bump the Ruby version to 3.1 so that all builds, including release tag ones, start using it.
Edited by Balasankar 'Balu' C