Audit script: improve messages for `RubyGems` (fix #843)

Added conditions for the cases in which `RubyGems` does not come by default with older versions of `Ruby` (resolves the issue discussed in #843).