Ruby 3.1 will reach EOL upstream at the end of March and will no longer receive security updates. Consequently this version will be removed from Gentoo.