-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"erb-formatter not found by bundler" when using asdf #2
Comments
Same issue. |
+1 Same issue as well. |
I made a "working for now" solution (I'm using
|
+1 same issue |
I am using rbenv, but still get the same issue. |
Just when I thought I had found an ERB formatter.. 😂 |
I just merged #7 which fixes an issue for which it was erroneously showing that message whenever an ERB or HTML error was encountered, v0.3.0 will contain it. In case some of the issues you've seen were related to that. |
It seems the plugin is using the system ruby regardless of what is set by the users environment, aka asdf. I had 3.0.6 installed by Arch and it was using that instead of the 3.3.0 my project was using from asdf. When I removed the system ruby the plugin complained that it couldn't find ruby even though any other terminal I used was working fine. |
I have
gem "erb-formater"
in my Gemfile but I'm constantly getting a popup every time I save an ERB file saying bundler couldn't find erb-formatter. I believe this is because I'm using asdf as a version manager.The shopify-lsp VS Code extension has
"rubyLsp.rubyVersionManager": "asdf"
to know where to look. Could we do something similar here?The text was updated successfully, but these errors were encountered: