[openSUSE/open-build-service] a687de: Fix some ruby 3.1 incompatibilities