-
Notifications
You must be signed in to change notification settings - Fork 149
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
RubyLSP in windows 10 stuck on starting #2369
Comments
Thank you for the bug report. It seems that you're using the How are you setting up the version manager? If you completely remove all version manager configuration and either rely on the RubyInstaller integration or select the Ruby version manually, does it work? |
I have tried using rbenv from https://github.com/ccmywish/rbenv-for-windows because i thought it was the only one I could find for Windows, but a different issue came; setup rbenv in $PROFILE following docs and reinstall ruby i also adding RUBY_VERSION to env path . I don't know why the ruby version is still not detected and shows as undefined. i have even created a full log: The linter and snippets work as well, but autocomplete doesn't work at all (because LSP is not running yet). If there's anything needed to investigate the issue, please let me know. I'll provide it.! |
Description
on Linux, it works fine without any issues, but for the past 2 days, i have been trying it on win10, and RubyLSP won't run on Vscode. it stuck at the 'starting' state.
i thought it was a duplicate of #2286, but it's not; this is just a simple project with a
Gemfile
file: #2286 (comment)ruby version: ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x64-mingw-ucrt]
ruby-lsp:
what i do:
create folder/file and open it with powershell
Gemfile
``` # frozen_string_literal: trueGemfile.lock
main.rb
output tab in VScode
in powershell
i don't know what's going on here, even after completely uninstalling VSCode and reinstalling it, nothing changed and it's still the same.
The text was updated successfully, but these errors were encountered: