Use when working in a Ruby project - provides authoritative sources for documentation, typing, and tooling
Authoritative resource map for Ruby development. Use these sources rather than searching broadly.
Never use these sources:
Primary source: https://docs.ruby-lang.org/en/
| Term | Meaning |
|---|---|
| Default gem | Ships with Ruby, cannot uninstall |
| Bundled gem | Ships with Ruby, can uninstall/replace |
| Standard library | Part of Ruby itself, not a gem |
To check which gem versions ship with each Ruby release: https://stdgems.org/
| Framework | GitHub | Documentation |
|---|---|---|
| minitest | https://github.com/minitest/minitest | https://docs.seattlerb.org/minitest/ |
| test-unit | https://github.com/test-unit/test-unit | https://test-unit.github.io/ |
Two type definition formats exist in Ruby:
sig { ... }) in .rb and .rbi files..rbs files or inline as comments.Sorbet is a static and runtime type checker for Ruby, maintained by Stripe. Key companion tools:
Sorbet supports RBS-style inline type annotations using #: comment syntax. This eliminates the need for separate .rbi files or verbose sig blocks.