Forum: Ruby on Rails dispatch.cgi errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Manish S. (Guest)
on 2006-03-07 22:44
(Received via mailing list)
I'm trying to get my rails app running in regular cgi before moving to
fcgi,
but i'm getting premature end of script headers errors in my server log.

I'm not sure how to debug this, and i would greatly appreciate some
help.
Of course when i browse to my app, it says: Rails application failed to
start properly"

So far i've done:

I can run the console and create a new user object from my User model,
so i
dont think its a database connection issue (right?).

I ran tail -f on my server log while trying to access my app from a
browser
and it spits out the "premature end of...(piece of shit uninformative
cgi
errors)".

I started webrick and browsed to my site with that
http://_ip_address:3000
and it works fine.

Dispatch.cgi points to the right ruby installation.

I have not:

modified .htaccess (didnt think i needed to since i'm trying the out of
the
box installation)
This topic is locked and can not be replied to.