Forum: Ruby on Rails Premature end of script headers:....dispatch.cgi

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.
Lior (Guest)
on 2006-02-18 20:36
Hi all,
I have a working ruby app that I developed on Window and I am trying to
deploy it on Linox with Apache. The hosting company generated for me an
empty rails app and I just replaced the files that I modified in my app
(only rb/rhtml/css/js files).

In addition I updatd the database.yml but now I am getting either page
not found or
Application error
Rails application failed to start properly"

Nothing in the rails log and only
Premature end of script headers:
/home/lior31/public_html/rails/dispatch.cgi

in the error log of apache(I guess)

Help is needed.
Lior
Luke R. (Guest)
on 2006-02-19 03:58
(Received via mailing list)
Hmm, could it be the line endings (linux vs windows line endings)? Make
sure
you are using linux line endings (\n) in whatever editor you use and you
shouldn't have any problems.
This topic is locked and can not be replied to.