Fix chef-repo image build with incompatible ffi gem version
What
Fix chef-repo
image build with incompatible ffi
gem version.
Why
https://gitlab.com/gitlab-com/gl-infra/ci-images/-/jobs/7087974851
#9 139.9 ERROR: Error installing chef:
#9 139.9 The last version of ffi (~> 1.9, >= 1.9.25) to support your Ruby & RubyGems was 1.17.0. Try installing it with `gem install ffi -v 1.17.0` and then running the current command again
#9 139.9 ffi requires RubyGems version >= 3.3.22. The current RubyGems version is 3.1.6. Try 'gem update --system' to update RubyGems itself.