Launcher mode issues
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,
}
}
@ske7 the bug you reported regarding launcher mode on Windows should be fixed in https://github.com/Shopify/ruby-lsp/pull/2979.
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.
@naveg when you see that error, is there anything else printed to the output tab? Any Bundler installation or setup issues?
@vinistock I realized that my lsp was stuck on an old version because rbs was being pinned at an old version due to another gem. After forcing a ruby-lsp upgrade, everything works.
Could https://github.com/Shopify/ruby-lsp/issues/3196 be related to launcher mode?
This issue is being marked as stale because there was no activity in the last 2 months
This issue is being marked as stale because there was no activity in the last 2 months
This issue is being marked as stale because there was no activity in the last 2 months