For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ruby

Ruby analysis is available in all editions of SonarQube Server and Community Build.

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, 3.1, and 3.2 are supported.

Language-specific properties

Discover and update the Ruby-specific Analysis parameters by going to Administration > Configuration > General Settings > Languages > Ruby.

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).

In-line suppression of issues

Adding the //NOSONAR comment at the end of the line will suppress all issues on that line.

Last updated

Was this helpful?