diff --git a/lib/ruby_lsp/requests/support/rubocop_runner.rb b/lib/ruby_lsp/requests/support/rubocop_runner.rb index 91d2d840a..001c96853 100644 --- a/lib/ruby_lsp/requests/support/rubocop_runner.rb +++ b/lib/ruby_lsp/requests/support/rubocop_runner.rb @@ -36,8 +36,8 @@ class InternalRuboCopError < StandardError MESSAGE = <<~EOS An internal error occurred %s. - Updating to a newer version of RuboCop may solve this. - For more details, run RuboCop on the command line. + Updating to a newer version of the RuboCop gem (and its extensions) may solve this. + For more details, run `bundle exec rubocop` on the command line. EOS sig { params(rubocop_error: T.any(RuboCop::ErrorWithAnalyzedFileLocation, StandardError)).void }