I am developing an application using Rails and doing l10n with
When I deploy the app on lighttpd, every rjs template is rendered with
Content-type: text/html; charset: UTF-8. I believe it comes from 85th
rails.rb script in ruby-gettext lib. RJS templates are not executed in
Hovewer, when I run the app with Webrick, rjs templates are rendered
This strange difference in behaviour (Webrick vs. Lighty) of my app
occurs only when I use gettext. When I turn gettext off everything works
ok; rjs templates
are rendered on both servers with proper Content-type.
I reproduced this behaviour on a blank test app so it doesn’t depends
on my code.
I use EdgeRails (rev:4380), lighty: 1.4.11, gettext gem 1.5.0.
Can you tell me what’s wrong here?