Ruby on Rails

Ruby on Rails

Posted by: Anonymous
Posted on: 2005-04-09 11:05:00

Has anyone gotten Ruby on Rails working on Dreamhost? I have been following these instructions:

http://www.numberporn.com/archives/000118.php

But I'm still having problems. I think that things have changed with the 0.11.1 release that make these instructions obsolete.

Right now I'm stuck trying to get apache to run dispatch.cgi. I keep getting an error that says "Premature end of script headers: /home/username/domain/my_rails_site/public/dispatch.cgi"

So it seems like it's trying to run my cgi script but it doesn't quite succeed.

Thanks,
Carl Youngblood

Re: Ruby on Rails

Posted by: ardco
Posted on: 2005-04-09 13:40:00

Did you follow the link and follow the relatively new instructions in the wiki?

BobS

Re: Ruby on Rails

Posted by: cayblood
Posted on: 2005-04-09 14:30:00

Yes, I did follow the link. It only tells you how to set up rails, but it is still not working after you follow all the steps. Sure, you can see the static HTML welcome page, but try running a real rails app and you'll know what I mean. The CGI dispatching script still doesn't work.

Tags: premature end of script headerscgi scriptdispatchrubydreamhostobsoletesucceedgottenapachedomainphphttp