ruby-lsp
ruby-lsp copied to clipboard
Error: "rbenv: bundle: command not found"
Operating System
Windows 11 with WSL 2: Ubuntu
Ruby version
3.0.5
Project has a bundle
- [X] Has bundle
Ruby version manager being used
rbenv
Description
I get the following output when I change branches (every time).
>> Running `bundle install`...
ERROR> rbenv: bundle: command not found
ERROR>
ERROR> The `bundle' command exists in these Ruby versions:
ERROR> 3.0.5
ERROR>
>> `bundle install` exited with code 127
On my shell:
I followed the troubleshooting steps but they didn't help. I don't actually know how the extension and the LSP integrate so I'm a bit lost on how to troubleshoot this.
Of note: I'm using the insiders build, which seems likely to be relevant:
Commit: f6be5461f8bc69013a605f5baea834651c6589fb
Date: 2023-05-20T01:18:53.811Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621