-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error: invalid output. Check your ruby interpreter setting (only with ERB files) #101
Comments
I'm experiencing this too. The README addresses this...but even with the htmlbeautifier gem installed, I still get the error. |
I came accross this issue too . System :** OS X EL Capitan** , version 10.11.5 , with sublime3, When i use the short cut in *.html.erb file , there always be a alert showing :
I have install ruby with brew. Ruby version is : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin15] |
After google , I think I get the right answer , In my situation , because I reinstall the ruby with brew , I have to change the ruby path in the preference of BeautifyRuby . So change to save the prefernce and all is done. you can check the solution in stackoverflow: |
To save the next visitor a click, the secret is to tell rvm to use your global gemset:
or
|
For me |
Solutions
1. Ruby Path:
2. Install
|
@jabbett Helped alot!!! Thanks!! :) |
@benkoshy this worked, thanks!! |
On OS X 10.11.2 - Sublime Text 3
I have the htmlbeautifier gem (1.1.1) properly installed. From the terminal
htmlbeautifier my_file.html.erb
works as expected and beautifies the file.The plugin is installed (via package control) and works for standard ruby (.rb) files.
However the I get the 'Error: invalid output. Check your ruby interpreter setting' error whenever I try to beautify a .erb file within Sublime.
Any ideas?
The text was updated successfully, but these errors were encountered: