Start Free
2025.2 | Analyzing source code | Languages | Ruby

Ruby

On this page

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


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License