Replies: 3 comments 2 replies
-
You could try this: https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions