Add line: ENV[‘HOME’] = ‘/home/davidlt’ #just change “davidlt” yo our
user. On some hosting RoR doesn’t work without it.
John W. Long wrote:
- A library or file that dispatch.cgi is using wasn’t found or has the
The premature end of script headers means that the script is dying
before it can even start up.
BTW, you are using CGI not Fast CGI. Is this intentional? CGI is not
considered to be production worthy for Rails apps.
I am getting the same kind of error (only running under
apache2+mod_fcgid on debian sarge)
I also get this:
[Wed Apr 25 15:45:50 2007] [notice] mod_fcgid: server
expand_path': couldn't find HOME environment -- expanding~’
permissions look fine.
unsure if thats a helpful addition, but thought i’d flag it anyway.
Radiant mailing list
Post: [email protected]