How do #Ruby #OpenSource developers work with projects that don't include an #LSP in their dependencies, but still get the benefits of ruby-lsp or sorbet's LSP? I don't want to maintain a delta against Gemfile.lock just to turn those on. Is there a way to configure #Bundler to add a host-only gem dependency that never gets included in Gemfile and Gemfile.lock?
@offby1 with Shpoify's LSP with VS Code you don't need gems: https://github.com/Shopify/vscode-ruby-lsp
GitHub - Shopify/vscode-ruby-lsp: VS Code plugin for connecting with the Ruby LSP

VS Code plugin for connecting with the Ruby LSP. Contribute to Shopify/vscode-ruby-lsp development by creating an account on GitHub.

GitHub

@mat I don't use VSCode (and pretty actively dislike it, too, so it's not likely to change)

Is there documentation somewhere on how to install that "outside" of a project?

@offby1 and trying simply with gem install your-extra-gem?

Another option could be messing with .irbrc (in your home or project path), but anything setup there will available only via console.

I think that the LSP support is heavily influenced by the editor plugin that you intend to use. Perhaps searching in that direction could help.