Skip to content
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

VSC is done formatting, but on terminal rufo says otherwise #263

Open
bgvo opened this issue Jun 25, 2021 · 1 comment
Open

VSC is done formatting, but on terminal rufo says otherwise #263

bgvo opened this issue Jun 25, 2021 · 1 comment

Comments

@bgvo
Copy link

bgvo commented Jun 25, 2021

I'm using Rbenv.
In VSC I installed https://github.com/jnbt/vscode-rufo
Running which rufo on the terminal produces /Users/borjagvo/.rbenv/shims/rufo
I changed VSC Settings > Extensions > Rufo > Path to invoke Rufo to point to /Users/borjagvo/.rbenv/shims/rufo.
I formatted a file from VSC. However, if I run bundle exec rufo --check app it still produces output:

Formatting app/views/track/domains/index.html.erb produced changes

Is anything missing?
Thanks.

@effleurager
Copy link
Collaborator

If your bundle specifies a version of rufo that's different from the one installed in the rbenv environment, it may have differences in formatting. What versions are in the bundle and in your rbenv environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants