vscode-ruby version: 0.24.02.6.3 chrubyVersion 1.36.0 (1.36.0)macOS Mojave 10.14.5 (18F132)YesShould start up
[Info - 3:33:07 PM] Initializing Ruby language server...
[Info - 3:33:07 PM] Rebuilding tree-sitter for local Electron version
[Error - 3:33:07 PM] Server initialization failed.
Message: Request initialize failed with message: No prebuilt binaries found (target=undefined runtime=undefined arch=undefined libc=undefined platform=undefined)
Code: -32603
the last vscode is using node v69 and the last tree-sitter-ruby is against v64 and isn't founding the url to download:
we have to wait to tree-sitter-ruby generate a new release in that case ?
btw: the last message with undefined values, seems related to prebuildInstall.download
https://github.com/rubyide/vscode-ruby/blob/master/server/src/util/rebuilder.ts#L38
isn't sending all the data to show the error:
https://github.com/prebuild/prebuild-install/blob/04be92d2ead6459741e0fb64cc44735f6c2fa519/download.js#L66
This is known and we already have a PR upstream to fix it.
If you have build tooling installed on your system you can perform the following:
cd ~/.vscode/extensions/rebornix.ruby-0.24.0/server
npm install
That should trigger prebuild to build the binary
I am researching moving to the WASM build of tree-sitter but there appears to potentially be some issues (see Microsoft/vscode#65559)
I'm closing this as this is a dup of #486
% cd ~/.vscode/extensions/rebornix.ruby-0.24.0/server
% npm install
added 389 packages from 755 contributors and audited 1925 packages in 6.016s
found 0 vulnerabilities
This didn't fix the issue though. Guess I'll wait for an upstream fix?
v0.24.1 was just published with the updated binaries
Most helpful comment
This didn't fix the issue though. Guess I'll wait for an upstream fix?