vscode-ruby version: 0.26.0useLanguageServer is true?) YesHello -
I recently installed VS Code and the Ruby extensions but am now struggling to spin up the language server. More generally, none of the linting functionality appears to be working.
When I view the Language Server Output Channel, the server appears to be hanging at Loading Ruby tree-sitter syntax from /Users/mike/.vscode/extensions/rebornix.ruby-0.26.0/dist/server/tree-sitter-ruby.wasm.
When I view the Developer Tools debugging console, I see the following error:
Error: Unable to read file (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/Users/mike/.vscode/extensions/rebornix.ruby-0.26.0/language-configuration-ruby.json')
Before installing the Ruby extensions, I brew installed rbenv and then installed ruby version 2.3.8.
My settings.json looks like this:
{
"workbench.colorTheme": "Default High Contrast",
"terminal.integrated.shell.osx": "/bin/bash",
"window.zoomLevel": 0,
"ruby.useLanguageServer": true,
"ruby.format": "rubocop",
"[ruby]": {
}
}
Any help would be greatly appreciated.
Thanks!
How did you solved it?
I was able to fix this by running curl https://raw.githubusercontent.com/rubyide/vscode-ruby/master/packages/vscode-ruby/language-configuration-ruby.json > ~/.vscode/extensions/rebornix.ruby-0.27.0/language-configuration-ruby.json
@wingrunr21 it seems that this is still an issue in rebornix.ruby-0.28.1.
Any reason why this is the case?
And is this solvable?
PS: Thank you so much for vscode-ruby. It is so great! :pray:
Most helpful comment
I was able to fix this by running
curl https://raw.githubusercontent.com/rubyide/vscode-ruby/master/packages/vscode-ruby/language-configuration-ruby.json > ~/.vscode/extensions/rebornix.ruby-0.27.0/language-configuration-ruby.json