Ruby
Language-specific information about the way that SonarQube Cloud supports the analysis of Ruby.
Supported versions
The level of support for a language is defined as follows:
Fully supported: Analysis will complete. All the language features are understood and examined.
Supported: Most language features are understood and examined but the version includes unsupported features. Analysis might break or provide incomplete results.
Ruby versions 3.0 to 3.4 and version 4.0 are supported.
Language-specific properties
To discover and update the Ruby-specific properties, navigate in SonarQube Cloud to Your Project > Administration > General Settings > Languages > Ruby. See Configuration overview for more information about setting properties.
By default, all the vendor directories are excluded from the analysis. However, you can change the property sonar.ruby.exclusions to a different pattern if you want to force their analysis (not recommended).
Test coverage parameters
See Ruby.
In-line suppression of issues
Adding the //NOSONAR comment at the end of the line will suppress all issues on that line.
Related pages
External analyzer reports (Rubocop)
Test coverage Overview (SimpleCov)
Last updated
Was this helpful?

