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

Launcher mode issues #2977

Open
vinistock opened this issue Dec 12, 2024 · 3 comments
Open

Launcher mode issues #2977

vinistock opened this issue Dec 12, 2024 · 3 comments
Labels
bug Something isn't working server This pull request should be included in the server gem's release notes

Comments

@vinistock
Copy link
Member

We're experimenting with a new launching mechanism that is aimed to allow the Ruby LSP to be more resilient to Bundler related issues. The rollout is currently at 5% of users.

If you encounter any issues, please report it here, so that we can address it and continue the gradual rollout.

If necessary, you can turn off the launcher mode temporarily by adding this to the VS Code's JSON settings:

{
  "rubyLsp.featureFlags": {
    "launcher": false,
  }
}
@vinistock vinistock added bug Something isn't working server This pull request should be included in the server gem's release notes labels Dec 12, 2024
@vinistock
Copy link
Member Author

@ske7 the bug you reported regarding launcher mode on Windows should be fixed in #2979.

@naveg
Copy link
Contributor

naveg commented Dec 18, 2024

Since it isn't documented here yet (but it is mentioned issue #2936), I'm noting that my LSP failed to start up with this error:

2024-12-18 15:30:04.182 [info] (dashboard) <internal:/Users/naveg/.asdf/installs/ruby/3.1.6/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- ruby_lsp/load_sorbet (LoadError)

The fix suggested in the issue description worked as advertised.

@vinistock
Copy link
Member Author

@naveg when you see that error, is there anything else printed to the output tab? Any Bundler installation or setup issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server This pull request should be included in the server gem's release notes
Projects
None yet
Development

No branches or pull requests

2 participants