allow different ruby versions and fix tests

for https://github.com/FinalCAD/finalcloud/issues/3146