Open ndan opened 3 years ago
The problem with removing -l
is that it would break ruby-spawn on some systems using rvm or rbenv.
You might be able to work around the problem by tweaking your zsh profile, although I'm not familiar enough with asdf to make any specific recommendations. In the meantime, I'll see if I can come up with a better solution. I'm open to suggestions.
Adding export PATH=$HOME/.asdf/shims:$PATH
to ~/.zprofile
works fine.
I need further investigation to understand what is the difference between rbenv and asdf.
I can't make
ruby-debug
work withasdf-vm
.The only way to make it work is to remove
shellArgs.unshift('-l');
from theruby-spawn
source code.I can replicate an error in terminal
It works if I remove
-l
Any chance
shellArgs.unshift('-l');
can be removed from the source code?ENV
MacOS BigSur (11.2.1) asdf-vm v0.8.0 VSCode 1.53.2