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 -- Posted via http://www.ruby-forum.com/.
Luke Redpath
2006-Feb-19 01:56 UTC
[Rails] Premature end of script headers:....dispatch.cgi
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. On 2/18/06, Lior <liorzadok@comcast.net> wrote:> > 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 > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Cheers, Luke Redpath www.lukreedpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060219/f366a442/attachment-0001.html