Description
Ruby LSP Information
Collect Ruby LSP information for issue reporting throws No active Ruby workspace found, presumably because the LSP won't start.
- extension version 0.10.0 of the extension installed from https://open-vsx.org/extension/Shopify/ruby-lsp
- Vscodium version 1.109.01000 .deb install from https://github.com/VSCodium/vscodium
- I have a wrapper script which connects to or starts a per-project
tmux session as my default terminal. This is for me. If the extension needs a terminal, it should use bash directly since that will provide a regular shell. tmux will not do that.
Reproduction steps
- Write a small wrapper to launch
tmux and set the executable bit:
/home/user/.local/bin/vscodium-tmux
#!/usr/bin/env bash
declare project
read -r project < <(basename "$PWD")
exec tmux new-session -ADs "$project"
- Add a custom terminal profile for the script and set it as the default:
settings.json
"terminal.integrated.defaultProfile.linux": "tmux",
"terminal.integrated.profiles.linux": {
"bash": {
"icon": "terminal-bash",
"path": "bash"
},
"tmux": {
"path": "/home/user/.local/bin/vscodium-tmux"
}
},
- Restart Vscod*, open a Ruby project and try to to (re)start the Ruby LSP. It produces the output below and remains in the
Starting state indefinitely:
2026-03-04 10:11:10.511 [info] (ProjectName) Running command: `/home/user/.rbenv/bin/ruby -EUTF-8:UTF-8 '/home/user/.vscode-oss/extensions/shopify.ruby-lsp-0.10.0-universal/activation.rb'` in /home/user/Code/3p/ProjectName using shell: /home/user/.local/bin/vscodium-tmux
It may be that there's a setting I can change, but the troubleshooting guide is a bit vague. I need the extension to use bash directly rather than my default terminal. I don't think that it's correct to use my configured default terminal (for the UI) in this way.
Edit: I failed to mention that setting my default terminal to bash in my settings.json for Ruby projects fixes the issue and the extension works perfectly. And it's a really nice extension!
Description
Ruby LSP Information
Collect Ruby LSP information for issue reportingthrowsNo active Ruby workspace found, presumably because the LSP won't start.tmuxsession as my default terminal. This is for me. If the extension needs a terminal, it should usebashdirectly since that will provide a regular shell.tmuxwill not do that.Reproduction steps
tmuxand set the executable bit:/home/user/.local/bin/vscodium-tmuxsettings.jsonStartingstate indefinitely:It may be that there's a setting I can change, but the troubleshooting guide is a bit vague. I need the extension to use
bashdirectly rather than my default terminal. I don't think that it's correct to use my configured default terminal (for the UI) in this way.Edit: I failed to mention that setting my default terminal to
bashin mysettings.jsonfor Ruby projects fixes the issue and the extension works perfectly. And it's a really nice extension!