Update ohai gem to 18.1.3
What does this MR do and why?
Update the ohai gem to 3.1.3 to support ruby 3.1.
Related
Closes #424131 (closed)
How to set up and validate locally
-
Green pipeline.
-
Install omnibus package.
-
Verify ohai version is installed:
/opt/gitlab/embedded/bin/gem list ohai *** LOCAL GEMS *** ohai (18.1.3, 17.9.0)
-
Check version in rails:
sudo gitlab-rails console irb(main):001:0> Gem.loaded_specs["ohai"] . . . s.name = "ohai" s.version = Gem::Version.new("18.1.3") . . .
-
Verify operating system returned by ohai:
sudo gitlab-rake gitlab:usage_data:generate | grep operating_system "operating_system": "ubuntu-22.04",
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andrew Patterson