ruby/did_you_mean
The gem that has been saving people from typos since 2014 observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 89
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4595
- days_rel: 637
- days_push: 71
- n_releases_24m: 1
Adoption not part of the score
1881 stars · 113 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that enhances error messages by suggesting corrections for misspelled method, variable, class, and key names in NameError, NoMethodError, KeyError, and similar exceptions. It ships bundled with Ruby 2.3+ and also exposes a reusable SpellChecker for programmatic spelling correction.
Use cases
- suggest correct method names when a NoMethodError occurs
- fix misspelled class or variable names in NameError messages
- suggest similar hash keys on KeyError
- programmatically find closest matches to user input with a spell checker
- disable suggestions when debugging error objects
When to choose
- you want friendlier Ruby error messages with 'Did you mean?' suggestions
- you need a small spell-correction utility inside a Ruby program
- you are building tooling that surfaces likely intended identifiers
When to avoid
- you are not working in Ruby
- you need general-purpose natural language spell checking rather than identifier correction
- you need suggestions in production error reporting where overhead must be minimized
Facets
library · maturity stable
error-handling developer-tools developer-tools programming-languages ruby cross-platform spell-check typos error-messages nameerror debugging
1 source
- readme: https://github.com/ruby/did_you_mean · fetched 2026-08-28 · 07e091d11b39
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ruby/did_you_mean | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="ruby/did_you_mean")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem