Skip to content
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 none environment : Command failed 'ruby' n'est pas reconnu en tant que commande interne ou externe #1647

Closed
1 task
ugur-kurnaz opened this issue Aug 5, 2023 · 1 comment
Labels
bug Something isn't working transferred This issue was transferred from vscode-ruby-lsp

Comments

@ugur-kurnaz
Copy link

Operating System

Windows 10

Ruby version

ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]

Project has a bundle

  • Has bundle

Ruby version manager being used

no manager

Description

ruby is in path, and run well from command line.

λ where ruby
C:\etc\msys64\ucrt64\bin\ruby.exe
λ ruby --version
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]`

But the plugin keeps claiming 'ruby' doesn't exist.

I tried setting the PATH as mentionned in custom activation, with v
"rubyLsp.customRubyCommand": "set PATH=C:\etc\msys64\ucrt64\bin;%PATH%"
but then it's 'set' that is not recognized.

I even tried to force creation of the shell with cmd.exe : same error.

@ugur-kurnaz ugur-kurnaz added the bug Something isn't working label Aug 5, 2023
@ugur-kurnaz
Copy link
Author

ugur-kurnaz commented Aug 6, 2023

seems to be be duplicate of closed issue #1586, which has been handled with pr Shopify/vscode-ruby-lsp#712. just have to wait next release.

@vinistock vinistock added the transferred This issue was transferred from vscode-ruby-lsp label Mar 15, 2024
@vinistock vinistock transferred this issue from Shopify/vscode-ruby-lsp Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working transferred This issue was transferred from vscode-ruby-lsp
Projects
None yet
Development

No branches or pull requests

2 participants