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

Update autodetection of Mise in VSCode extension to support multiple locations #2878

Open
adam12 opened this issue Nov 19, 2024 · 3 comments
Assignees

Comments

@adam12
Copy link
Contributor

adam12 commented Nov 19, 2024

Homebrew installs Mise in a different location than the location on the website, which is the one that the Ruby LSP extension attempts to detect. Homebrew is a common installation method for Mise, so the Ruby LSP should detect the path via this installation method if possible.

The path Homebrew uses on Apple M hardware is: /opt/homebrew/bin/mise

@adam12
Copy link
Contributor Author

adam12 commented Nov 19, 2024

I have work on this open, just struggling to run a clean checkout of the test suite (as discussed). Please assign to me and I will attempt to complete the work and submit a PR with tests functioning.

@pprotas
Copy link

pprotas commented Nov 27, 2024

I am struggling to get the extension working with Mise. In the meantime, is there some kind of workaround for getting it to work?

@adam12
Copy link
Contributor Author

adam12 commented Nov 27, 2024

I am struggling to get the extension working with Mise. In the meantime, is there some kind of workaround for getting it to work?

You should be able to configure the path to mise manually in the Ruby LSP settings tab, if the VS Code extension isn't auto-detecting it. If that doesn't help, you could open a discussion here or join the Ruby DX Slack if you're not already a member and maybe we can advise you there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants