You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run any mine command under Ruby 3.4.x, I get the following error:
❯ mine --version /path/to/ruby/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/error.rb:109:in '<class:Thor>': uninitialized constant DidYouMean::SPELL_CHECKERS (NameError)
DidYouMean::SPELL_CHECKERS.merge!(
^^^^^^^^^^^^^^^^
Did you mean? DidYouMean::SpellChecker
from /path/to/ruby/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/error.rb:1:in '<top (required)>'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from /path/to/ruby/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/base.rb:4:in '<top (required)>'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from /path/to/ruby/lib/ruby/gems/3.4.0/gems/thor-0.20.3/lib/thor/group.rb:1:in '<top (required)>'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from /path/to/ruby/lib/ruby/gems/3.4.0/gems/ore-0.11.0/lib/ore/generator.rb:6:in '<top (required)>'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from <internal:/path/to/ruby/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from /path/to/ruby/lib/ruby/gems/3.4.0/gems/ore-0.11.0/bin/mine:6:in '<top (required)>'
from /path/to/ruby/bin/mine:25:in 'Kernel#load'
from /path/to/ruby/bin/mine:25:in '<main>'
from /path/to/ruby/bin/ruby_executable_hooks:22:in 'Kernel#eval'
from /path/to/ruby/bin/ruby_executable_hooks:22:in '<main>'
I tried altering the code in question to use DidYouMean.spell_checkers instead, but it's frozen by the time Thor tries to alter it, so I opted to just comment it out instead. This works if you also install the sorted_set gem and invoke it using ruby -r sorted_set -S mine [...].
The text was updated successfully, but these errors were encountered:
When I run any
mine
command under Ruby 3.4.x, I get the following error:I tried altering the code in question to use
DidYouMean.spell_checkers
instead, but it's frozen by the time Thor tries to alter it, so I opted to just comment it out instead. This works if you also install thesorted_set
gem and invoke it usingruby -r sorted_set -S mine [...]
.The text was updated successfully, but these errors were encountered: