Comments (8)
Hi @Kyokatarz
Could you give more information from the log.
You can open the developer console from Help
-> Toggle Developer Tools
And while opening the console, try to format your documents, and see what is the output from the console.
it should be something like this or similar:
from vscode-erb-beautify.
Looks the message is coming from bundler
and I assume you are using bundler in this case.
have you check rubygems/bundler#6028?
and which bundler version are you using? Are you setting bundler in verbose mode?
from vscode-erb-beautify.
Close this as no further feedback, assume it is already resolved due to local configuration issue.
Please reopen in case still necessary.
from vscode-erb-beautify.
I have the same problem and I can't reproduce it in my terminal and the console looks like what you posted above @aliariff. I'm struggling to find anything in the linked issue above since I don't have any sort of "verbose" mode configuration enabled that I can find.
It's worth noting if I install the gem in my Gemfile of the current project, it works fine. If I try and use htmlbeautifier that is installed globally for rvm using rvm @global do gem install htmlbeautifier
, that causes this issue.
from vscode-erb-beautify.
Hi @jclusso
Interesting find, unfortunately since last time, I can't really reproduce this issue on my local machine.
For the workaround you mentioned, does it sufficient for you, or its not possible to install the gem on the current project?
from vscode-erb-beautify.
@aliariff it's not ideal to install the gem on every project, especially since this is a depency that is not required for the project or any other developers that may or may not use it. How have you installed the gem?
from vscode-erb-beautify.
@jclusso I installed it globally, and no issue as mentioned here.
from vscode-erb-beautify.
@aliariff rvm? I installed it using rvm @global do gem install htmlbeautifier
.
from vscode-erb-beautify.
Related Issues (20)
- Retain line breaks
- Formatting incorrect when setting attributes HOT 3
- Support for vscode Format Selection HOT 1
- WSL2 issue HOT 2
- Code inside of a do block is not indented HOT 2
- Failed when formating UTF8 characters HOT 5
- Copy/Paste adds new line and breaks indentation HOT 3
- unicode characters turns ��� HOT 4
- v0.4.0. still unicode characters turns ��� HOT 11
- Error parsing standard input: invalid byte sequence in US-ASCII HOT 3
- Ctrl + / does not add comment block HOT 1
- plugin forcefully adds final new line (does not respect vscode settings.json) HOT 2
- Possible to ignore files or parts in files? HOT 5
- Empty file after formatting / save HOT 10
- Couldn't run htmlbeautifier 'spawn htmlbeautifier ENOENT' HOT 3
- The automated release is failing 🚨 HOT 1
- Support older VS Code versions HOT 1
- The gif on the README does not render
- Cannot read properties of undefined (reading 'apply')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-erb-beautify.