castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
425 stars 23 forks source link

No support for Ruby 2.7+ #181

Closed dersnek closed 4 years ago

dersnek commented 4 years ago

In a repo using ruby 2.7+ Solargraph shows this error:

Error in diagnostics: Error in RuboCop configuration: Unknown Ruby version 2.7 found in `.ruby-version`.
Supported versions: 2.2, 2.3, 2.4, 2.5, 2.6

Is support coming? Is there any way to help with it?

dersnek commented 4 years ago

This issue probably belongs more in https://github.com/castwide/solargraph

-- After a bit of digging, turns out I just had to update rubocop gem, which should've been obvious to me from the error itself.