Ruby on Rails @ Dreamhost: Step By Step
Posted by: dagarrat
Posted on: 2005-08-09 20:03:00
Is there a simple step by step explanation once you've successfully put Ruby on Rails? Rails seems to be working perfectly (creating frameworks when I generate controllers), but now I'm stuck between either getting the 500 error ("Application error Rails application failed to start properly") when using dispatch.cgi or just having it hang with I change my .htaccess file to use dispatch.fcgi.
In each instance, here's what I'm getting in my error logs:
--- with .htaccess set to dispatch.cgi:
[Tue Aug 9 19:17:43 2005] [error] [client 24.215.237.183] Premature end of script headers: /home/anzi/rails.anzidesign.com/public/dispatch.cgi
--- with .htaccess set to dispatch.fcgi
[Tue Aug 9 19:22:11 2005] [error] [client 24.215.237.183] FastCGI: comm with (dynamic) server "/home/anzi/rails.anzidesign.com/public/dispatch.fcgi" aborted: (first read) idle timeout (240 sec)
[Tue Aug 9 19:22:11 2005] [error] [client 24.215.237.183] FastCGI: incomplete headers (0 bytes) received from server "/home/anzi/rails.anzidesign.com/public/dispatch.fcgi"
It feels like I'm THAT close to getting this to work! This is really nerve-wracking ...