Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmuxinator autocomplete results in "Calling DidYouMean" deprecated error #848

Closed
Jeppelelle opened this issue Feb 9, 2022 · 5 comments · Fixed by #849
Closed

tmuxinator autocomplete results in "Calling DidYouMean" deprecated error #848

Jeppelelle opened this issue Feb 9, 2022 · 5 comments · Fixed by #849

Comments

@Jeppelelle
Copy link

tmuxinator Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call DidYouMean.correct_error(error_name, spell_checker)' instead.

macOS 12.2
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.x86_64-darwin21]
gem 3.0.3.1
tmuxinator 3.0.1

Installed & updated with Homebrew

Autocomplete worked fine up until yesterday, i think i ran 'brew upgrade' & ruby & ruby @3.0 got updated, the "DidYouMean" error seem to come from thor(?), i have never had that gem installed & "sudo gem install thor" did not fix the issue

Installing ruby with Homebrew & then running:
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc:

ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin21]

Switching to latest ruby version still results in a "DidYouMean..." warning when trying to autocomplete with tmuxinator

Is the error message coming from thor? Do tmuxinator include it's own thor gem? Anyone else with the same issue? I can't seem to fix it

@a14m
Copy link

a14m commented Feb 10, 2022

Same issue here
tmuxinator: stable 3.0.1 (homebrew bottled)
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]

@mikeyp
Copy link

mikeyp commented Feb 14, 2022

I think this is the upstream issue: rubygems/rubygems#5234

@mikeyp
Copy link

mikeyp commented Feb 14, 2022

I take that back, the issue seems to be in Thor: rails/thor#761

Looks like version of Thor will need to be bumped.

@ethagnawl
Copy link
Member

Thanks for digging into this, @mikeyp! I'll see about bumping the dependency and cutting a release.

@ethagnawl
Copy link
Member

tmuxinator 3.0.2 has been released and contains the fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants