-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to activate rbenv environment #1560
Comments
Hey. Is |
Yes, is loaded with |
Do you have another configuration file such as |
Just wanted to add that I'm running on 22.04 and have the same issue. I had I followed you suggestions in the previous reply and duplicated it in Generally, I don't believe |
I thought using the |
So a bit of info: If I delete I don't know whether the best way to handle this for the extension but at the very least, it would be nice if this issue could be detected so the user would know the problem. |
I can't help on whether there's a better way to tell bash to load |
Warn that the LSP is ready on initialized
This worked for me as well. Weirdly all was working fine until i removed previous ruby version and installed 3.3.1. After that it kept showing me Automatic Ruby environment activation with rbenv failed: Command failed: rbenv exec ruby -W0 -rjson -e STDERR.printenv: ENV.toh,jeet:!!defined?(RubyVM::YJIT),version:RUBY VERSION}.to_json) /bin/sh: 1: rbenv: not found My system has Weird that it was working earlier and ruby version change caused issues. vscode 1.89.1 |
Hi, I just trying to use this extension but it fails to activate:
It seems the extension cannot find
rbenv
but I can run the command that the extension is trying to run and is running without errors inside the vscode terminal.I'm using:
vscode 1.76.2
ruby lsp extension 0.2.3
ruby 2.7.7
rbenv 1.1.2-40-g62d7798
ubuntu 20.04
The text was updated successfully, but these errors were encountered: