Skip to content

Ruby Language Server Crashes in Remote SSH Environment #153

@abrookins

Description

@abrookins
  • VSCode Version: 1.34.0-insider (user setup)
  • Local OS Version: Windows 10 1809, build 17763.379
  • Remote OS Version: Linux - RHEL, uname -r: 3.10.0-957.10.1.el7.x86_64
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Install vscode-ruby extension in VS Code on Windows from the Extensions menu
  2. Set up a Ruby project on a Linux (RHEL) server/VM
  3. Connect to Linux server from within VS Code on Windows using "Remote-SSH: Connect to host..."
  4. Open a Ruby file hosted on the remote server within VS Code on Windows in the window currently connected to the remote server

Expected
The file opens without any error messages. Language server features work.

Actual
An error appears in the "Output" pane at the bottom of the screen and language server features do not work.

[Info  - 09:56:26] Initializing Ruby language server...
[Info  - 09:56:26] Rebuilding tree-sitter for local Electron version
[Info  - 09:56:26] Rebuild succeeded!
/home/andrew/.vscode-remote/bin/473af338e1bd9ad4d9853933da1cd9d5d9e07dc9/node: symbol lookup error: /home/andrew/.vscode-remote/extensions/rebornix.ruby-0.22.3/server/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorE
[Error - 09:56:26] Connection to server got closed. Server will not be restarted

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions