I'm having some trouble with a VSCode extension that executes a ruby command: htmlbeautifier (via the vscode-erb-beautify extension).
I have no trouble executing the htmlbeautifier command from my shell (having chruby'd to the correct version), including the vscode terminal, but vscode errors with couldn't run htmlbeautifier 'spawn htmlbeautifier ENOENT', presumably because it's still using the system ruby.
Any ideas on how to get this working?
I have both the chruby.sh and auto.sh sourced in my .zshrc.
Originally posted by @harrygr in #480
I'm having some trouble with a VSCode extension that executes a ruby command: htmlbeautifier (via the vscode-erb-beautify extension).
I have no trouble executing the
htmlbeautifiercommand from my shell (having chruby'd to the correct version), including the vscode terminal, but vscode errors withcouldn't run htmlbeautifier 'spawn htmlbeautifier ENOENT', presumably because it's still using the system ruby.Any ideas on how to get this working?
I have both the
chruby.shandauto.shsourced in my.zshrc.Originally posted by @harrygr in #480