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
After upgrading from Standard Ruby 1.43.0 to 1.44.0, the Ruby LSP integration breaks with numerous "unrecognized cop" errors. The issue persists even after downgrading back to 1.43.0 unless the gem is completely removed and reinstalled.
Environment
Ruby version: 3.3.6
Standard Ruby version: 1.44.0
Ruby LSP version: 0.23.6
RuboCop version: 1.70.0
Steps to Reproduce
Start with a working setup using Standard Ruby 1.43.0
Upgrade to Standard Ruby 1.44.0
Attempt to use Ruby LSP
Current Behavior
The Ruby LSP fails to initialize with hundreds of "unrecognized cop" errors, starting with:
Error loading addons:
/var/home/jduba/Bench/vipreply.ai/vendor/bundle/ruby/3.3.0/gems/rubocop-1.70.0/lib/rubocop/cop/registry.rb:68:in `dismiss': Cop RuboCop::Cop::Cop could not be dismissed (RuntimeError)
Followed by numerous errors like:
unrecognized cop or department Bundler/DuplicatedGem found in /var/home/jduba/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/standard-1.44.0/config/base.yml
Workaround
I found this workaround:
Remove Standard Ruby completely
Reinstall version 1.43.0
Simply downgrading the version without removal doesn't resolve the issue.
The text was updated successfully, but these errors were encountered:
Description
After upgrading from Standard Ruby 1.43.0 to 1.44.0, the Ruby LSP integration breaks with numerous "unrecognized cop" errors. The issue persists even after downgrading back to 1.43.0 unless the gem is completely removed and reinstalled.
Environment
Steps to Reproduce
Current Behavior
The Ruby LSP fails to initialize with hundreds of "unrecognized cop" errors, starting with:
Followed by numerous errors like:
Workaround
I found this workaround:
Simply downgrading the version without removal doesn't resolve the issue.
The text was updated successfully, but these errors were encountered: