Pin Ruby 3.1 testing to 3.1.4

Pin to working version while under investigation as import_fragments testcase fails.
See issue #2800

Seems to be same crash as Ruby 3.2.5, see fab27c67ccb66f40001048a6ed5c2927d57b13dc
1 file changed