Were you able to resolve your problem? I too am having similar problems, although I’ve never been able to get my Rails app running on Dreamhost. Everything works fine in development on my home machine, but after following the instructions on the Dreamhost wiki very carefully, I am still unable to get my app working… here are some more details:
I’ve tried installing on a subdomain mysub.mydomain.com, and also on top level domain mydomain.com. In both cases, I turned FastCGI on in the Dreamhost panel, and mapped my web directory to the public directory.
Trying to access the app from the web produces no errors in the rails /log directory, however I do see the following errors in my ~/logs/mydomain.com/http/error.log:
[Sun May 13 22:56:35 2007] [error] [client 188.8.131.52] FastCGI: comm with (dynamic) server “/home/username/mydomain.com/public/dispatch.fcgi” aborted: (first read) idle timeout (60 sec)
[Sun May 13 22:56:35 2007] [error] [client 184.108.40.206] FastCGI: incomplete headers (0 bytes) received from server “/home/username/mydomain.com/public/dispatch.fcgi”
3)If I do ruby public/dispatch.fcgi from the command line, I get the following errors in fastcgi.crash.log:
[13/May/2007:23:07:00 :: 23176] starting
[13/May/2007:23:07:00 :: 23176] Dispatcher failed to catch: private method
split' called for nil:NilClass (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:897:inparse’
process!' ./dispatch.fcgi:26 almost killed by this error [13/May/2007:23:07:00 :: 23176] Dispatcher failed to catch: private methodsplit’ called for nil:NilClass (NoMethodError)
killed by this error
I’ve tried all the troubleshooting I can find on Dreamhost’s wiki and from google searches, and yet I still can’t get this thing to run. I’m all out of ideas. Anybody else have any suggestions?