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

:( "Java is required!? DUH!" #223

Open
iamvery opened this issue Mar 2, 2012 · 1 comment
Open

:( "Java is required!? DUH!" #223

iamvery opened this issue Mar 2, 2012 · 1 comment

Comments

@iamvery
Copy link

iamvery commented Mar 2, 2012

Please update your docs / website to more expressly indicate that Java is a hard requirement for JS compression. Its "duh" now that I think about it, but I spent several hours trying to figure out why compression wasn't working on a server, but worked great everywhere else.

I understand that in general people "just know" that Java is a requirement for YUI, etc, but if it slips your mind or (in my case) you didn't know that, it can be very confusing that compression "gracefully" fails without any error or warning. We should probably at least see a warning in the log that compression was skipped due to Java missing.

Thanks for your great library!

(please try to overlook my extended emotions in this point.. its been one of those afternoons :)

@rchampourlier
Copy link

Well, I want to thank @iamvery for this issue, since I faced the same problem... The java dependency is far from evident to me since I discovered web-development in a ruby-only environment. A notice in logs or doc would be nice indeed...

[EDIT] Well in fact it gets logged... in the application-server's log, not in the Rails' one (in my case log/thin.0.log, not in log/rails.log).

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