Replies: 3 comments 2 replies
|
You could try this: https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables |
1 reply
|
Ah, yes, there are some limitations around that. Could you perhaps use a symbolic link that it's in the same place on each machine, but pointing to different targets? |
0 replies
|
@RulerOf did you try simply not specifying the ruby-lsp/vscode/src/ruby/asdf.ts Line 57 in d244ad2 Is that not checking in the right place? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I use asdf-vm to manage my Ruby versions installed on the machine. The ruby-lsp supports this, but I have to point it to the asdf installation:
I sync my settings between two different computers. Both Mac OS, but different architectures, so the homebrew path is different.
I'd like to do something like
"asdfExecutablePath": "$(brew --prefix asdf)/libexec/asdf.sh", but shelling out in a settings file seems unlikely.Is there any solution to this that I'm possibly overlooking?
Thanks.
All reactions