Rails App Deployment Trouble


#1

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.


#2

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
________________________
[color=#00CC00] _ _| _ _ _ _|_ _ (_|_\|<(_||_)(_|(_| |(/_ | [/color]