I’m still having problems.
i followed the instructions on http://wiki.dreamhost.com/index.php/Ruby_on_Rails exactly
(set fastcgi support, etc.,)
and I still get the Application error
"Rails application failed to start properly"
I chmoded 755 everything in the public directory. the public directory itself is chomded 755. So I don’t think it’s the permission issues.
I changed .htaccess to have the line
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
I even created a new rails directory, took their dispatch.fcgi file and copied it over to my directory (chmoded it 755 of course).
In my environment.rb I made sure that
RAILS_ENV = ENV[‘RAILS_ENV’] || 'production’
is my line.
the error log from apache is
FastCGI: incomplete headers (0 bytes) received from server
And I’m still getting that error message. Could there be anything missing that I didn’t do?
Note: When I change into development mode and have my .htaccess file to be
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
It works fine. But when I change it to fcgi (still in dev mode) it gives me that error.