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

Investigate how to support version managers that do not setup gem executables #2852

Open
vinistock opened this issue Nov 14, 2024 · 0 comments
Labels
vscode This pull request should be included in the VS Code extension's release notes

Comments

@vinistock
Copy link
Member

During RubyConf, I paired with someone using direnv + nix to manage Ruby and Bundler to install gems. The direnv + nix combo doesn't allow gem executables to be invoked, despite installing gems successfully. Even in this person's terminal, invoking gem executables was not possible.

The problem is even more complex because Bundler was configured to install gems in vendor/bundle and the developer had no idea where gems installed via gem install end up.

I'm wondering if we can instead force the installation path for the Ruby LSP to be inside the VS Code storage paths and then we launch the executable from there. It might make launch more robust for these scenarios.

@vinistock vinistock added the vscode This pull request should be included in the VS Code extension's release notes label Nov 14, 2024
@vinistock vinistock changed the title Investigate how to support version managers that not setup gem executables Investigate how to support version managers that do not setup gem executables Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

No branches or pull requests

1 participant