SystemCheck: Use a more reliable way to detect current Ruby version
What does this MR do?
Instead of relying on hard-coded ruby --version
to detect version, which may not point to the current ruby executing the code, we can just use RUBY_VERSION
.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides
Closes #46950 (closed)
Edited by Gabriel Mazetto