bessey / vscode-rufo

VS Code extension for rufo (the ruby formatter)
https://marketplace.visualstudio.com/items?itemName=mbessey.vscode-rufo
MIT License
19 stars 6 forks source link

provider FAILED with error undefined #19

Open asavageiv opened 4 years ago

asavageiv commented 4 years ago

Files will not format for me. The VS Code log says this:

[2020-09-23 21:10:32.696] [exthost] [error] [mbessey.vscode-rufo] provider FAILED
[2020-09-23 21:10:32.696] [exthost] [error] undefined

rufo is in my $PATH and I am able to run it fine from the command line

fiveNinePlusR commented 3 years ago

you probably fixed it already but vscode runs the terminal with a different type of login than your normal shell login. i believe the one they use is a non-interactive shell. so some environment variables don't get set. you might have to move the path stuff into a different config file such as .profile or something else. i don't recall off the top of my head. i wish this thing would work with bundler though.