Shopify / ruby-lsp

An opinionated language server for Ruby
https://shopify.github.io/ruby-lsp/
MIT License
1.6k stars 164 forks source link

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

Open adam12 opened 4 hours ago

adam12 commented 4 hours ago

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 commented 4 hours ago

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.