"/etc/init.d/apache2" start VS "apache2ctl start" with passenger module (ruby/rails)
Version: opensuse 11.3
I have a Sinatra application running on top of passenger module for Apache. Ruby 1.9.2
The application works if apache is started with "apache2ctl start", however, it doesn't when calling "service apache2 start".
The error comes from passenger:
Thanks in advance
Solved. It seems the "/etc/init.d/apache2 start" method is not loading ruby with the encoding environment variables set properly.
For passenger to do it right we need a wrapper script /usr/local/bin/ruby_utf8:
|All times are GMT -5. The time now is 07:20 PM.|