In general, it’s always best to choose the latest minor Ruby version, or else the previous minor version in order to ensure compatibility with recent versions of third-party RubyGems, as well as to minimize vulnerabilities. For example, if the most current version is 3.1, the safe bet is to use 3.0.3.