Rails App Deployment Trouble

Rails App Deployment Trouble

Posted by: syy
Posted on: 2008-01-17 21:10:00

Hi,

I am having trouble deploying a simple HelloWorld RoR app. It has one controller, "test", and one action, "index". And view file, index.rhtml.

But when I set my browser to:
www.mydomain.com/HelloWorld/public
I get "The page you were looking for doesn't exist." message.

The DramHost wiki was not detailed enough so I followed all the steps in
www.railshosting.org/#dreamhost.


I put in the routes.rb file:
map.connect ' ', :controller => "test"
Right?

I changed environment.rb, database.yml, .htaccess files, and enabled FastCGI. What am I doing wrong?

Anyone? Thanks.


Re: Rails App Deployment Trouble

Posted by: askapache
Posted on: 2008-01-22 15:13:00

I don't think you include the /public in the actual url, that is the filesystem mapping for / ... Try www.mydomain.com/HelloWorld

See: http://wiki.dreamhost.com/Ruby_on_Rails

Tags: file indexdeploymentwikimap