summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-09-02 06:47:40 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-05 11:32:38 +0200
commit41ffd1bd7cacbb72b568958aab72c34f65d69888 (patch)
treeaf5b16ba6e5bfa591f59508e6bac748d88391999 /spec/ruby/core/string
parentefea70f4594e147b15692bf5cf7dae733bd92147 (diff)
[rubygems/rubygems] Fix "did you mean" suggestions for unknown commands
Since Ruby 3.4.5, which ships with did_you_mean-2.0.0, RubyGems no longer gives "did you mean" suggestions for unknown commands. This is because did_you_mean-2.0.0 completely removed the SPELL_CHECKERS constant, and attaching "did you mean" to `Gem::UnknownCommandError` errors required this constant to be defined. The fix is to remove conditions on the `SPELL_CHECKERS` constant. https://github.com/rubygems/rubygems/commit/9287cd80ed
Diffstat (limited to 'spec/ruby/core/string')
0 files changed, 0 insertions, 0 deletions