use latest available version

Reverse iteration through RUBIES so when multiple patch versions are
installed it will select the latest version.