-
Notifications
You must be signed in to change notification settings - Fork 453
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
HTML (ERB) - htmlbeautifier custom path #232
Comments
Looks like there currently is not an option for setting the path to
Currently Atom Beautify attempts to automatically detect /bin/sh -c [ -f ~/.bash_profile ] && source ~/.bash_profile;[ -f ~/.bashrc ] && source ~/.bashrc; Test to see where you which htmlbeautifier For instance, mine returns: It's strange that |
Mine returns |
I am not a Ruby developer, so I am not really sure what you can and cannot do with Maybe there is something you could do with Bash aliases in either Maybe the following (untested): alias htmlbeautifer='/Users/chriswatson/.rvm/rubies/ruby-2.1.5/bin/htmlbeautifier' |
The funny thing is if I run htmlbeautifier in terminal it works. It just flakes out and throws that error within Atom. I don't really know coffee well enough to fix it for myself either /.\ haha |
Published to v0.21.6 Usage: take that |
Dang I thought that would work. I just got this
I checked the directory and it does exist so what am I doing wrong? |
Try: http://stackoverflow.com/a/26370576/2578205 |
What is going on here?! Haha
|
I am not a Ruby developer, so I have no idea 😝. Unfortunately, I don't think I'll be much help. I'd recommend searching around for your issue |
I just tested using the custom Hopefully you have some luck with your Ruby installation issue, @iDev0urer . |
I have installed htmlbeautifier through the command
gem install htmlbeautifier
but when I try to run your beautifier on HTML I get this errorCommand failed: /bin/sh -c [ -f ~/.bash_profile ] && source ~/.bash_profile;[ -f ~/.bashrc ] && source ~/.bashrc;htmlbeautifier < "/var/folders/s_/sqlhgb657c51smfrcpk7x2x00000gn/T/input115210-78658-j6w5bi" > "/var/folders/s_/sqlhgb657c51smfrcpk7x2x00000gn/T/115210-78658-ks7f94" /bin/sh: htmlbeautifier: command not found
The text was updated successfully, but these errors were encountered: