Replies: 1 comment 1 reply
-
This is likely due to VSCode not executing commands in a shell, but executing them as separate processes (JetBrains RubyMine used to do this). One workaround appears to be installing the Ruby VSCode extension by Peng Lv, which supports detecting the Ruby via RVM, rbenv, chruby, and asdf. Another workaround would be to try executing VSCode from the terminal in your project directory, so that in inherits the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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), 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?
Beta Was this translation helpful? Give feedback.
All reactions