Skip to content

Ruby Versioning

Identifier

ruby

References

Ranges/Constraints

✅ Ranges are supported.

Valid rangeStrategy values are: bump, widen, replace, pin

Description

The RubyGems team urges gem developers to follow the Semantic Versioning standard for their gem’s versions, but it is not enforced.

Range syntax is similar to npm's but not identical. The main difference is the use of "pessimistic" greater than or equals: ~>


Open items

The below list of features and bugs were current when this page was generated on March 31, 2026.

Feature requests

  • Bundler/Rubygems: support registries with incomplete releases lists #12618

Bug reports

  • Infer != version constraint as enabled: false #42081