Skip to content

Integrate with vscode #481

@harrygr

Description

@harrygr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions