Closed pedrogalan closed 9 months ago
I use
asdf
to handle my Ruby installation, which means that I don't have anything including the wordruby
in my PATH environment variable. This results in the extension failing with an error saying thatbundle
cannot be found.
asdf
adds to thePATH
environment variable the following path:/Users/pedrogalan/.asdf/shims
. Here is where theruby
andbundle
binaries live.So, in order for the function
ruby_paths()
to be able to find the required binaries for those users usingasdf
, I have slightly modified the filter so that it looks, not only for the nameruby
but also for others (e.g.shims
and possibly others that might be added to the array in the future).
Hello @pedrogalan, I see this solution has yet to be merged into the main branch. Is there a way that I can fix this issue locally in the meantime?
Sorry, @LightintheBulb, I don't even remember what I did to fix it on my local. I dropped VS Code and moved to Nvim at the beginning of this year.
Sorry, @LightintheBulb, I don't even remember what I did to fix it on my local. I dropped VS Code and moved to Nvim at the beginning of this year.
Oh okay, no problem. Thank you for responding; I appreciate it!
I really appreciate all you've done!
I use
asdf
to handle my Ruby installation, which means that I don't have anything including the wordruby
in my PATH environment variable. This results in the extension failing with an error saying thatbundle
cannot be found.asdf
adds to thePATH
environment variable the following path:/Users/pedrogalan/.asdf/shims
. Here is where theruby
andbundle
binaries live.So, in order for the function
ruby_paths()
to be able to find the required binaries for those users usingasdf
, I have slightly modified the filter so that it looks, not only for the nameruby
but also for others (e.g.shims
and possibly others that might be added to the array in the future).