Skip to content

Commit

Permalink
Add note about Mise version manager (#2172)
Browse files Browse the repository at this point in the history
* Add note about Mise version manager

* Update VERSION_MANAGERS.md
  • Loading branch information
andyw8 authored Jul 16, 2024
1 parent f2c890c commit 7e3bfde
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion VERSION_MANAGERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,27 @@ This document contains information and tips to help Ruby LSP's VS Code extension

## asdf

If you use `asdf` and the VS Code extension fails to activate the environment (as described in [this issue](https://github.com/Shopify/ruby-lsp/issues/1985)), you may resolve it by updating `asdf` to the latest version with `asdf update`, and then restart VS Code.
Ensure you on the latest release of asdf: https://asdf-vm.com/manage/commands.html.
If `asdf` was installed through Homebrew then you may need to first run `brew upgrade asdf`.

If you use `asdf` and the VS Code extension fails to activate the environment (as described in [this issue](https://github.com/Shopify/ruby-lsp/issues/1985)), you may resolve it by updating `asdf` to the latest version with `asdf update`, and then restart VS Code.

## Chruby

Ensure you are on the latest release of chruby.

If you use `chruby` but don't have a `.ruby-version` file in the project root, you can add `.ruby-version` to its parent folder as a fallback.

For example, if `/projects/my_project` doesn't have `.ruby-version`, `chruby` would read `/projects/.ruby-version` instead.

## Mise

Ensure Mise is up-to-date: https://mise.jdx.dev/faq.html#mise-is-failing-or-not-working-right

## RVM

Ensure RVM is up-to-date: https://rvm.io/rvm/upgrading

## Custom activation

If you're using a different version manager that's not supported by this extension or if you're manually inserting the Ruby
Expand Down

0 comments on commit 7e3bfde

Please sign in to comment.