FindRuby: Add support for versions up to 2.7
Factor changes out of !4386 (merged) to add support for Ruby 2.7 without adding RVM support yet.
Fixes: #20370 (closed)
Factor changes out of !4386 (merged) to add support for Ruby 2.7 without adding RVM support yet.
Fixes: #20370 (closed)