Dreamhost & Rails

Hello, I want to start my app in dreamhost but it's impossible!! I
emailed with support team, and I chatted with them, but every solutions
was the same that I did.

I create an app in SSH:

$ script/generate controller home index

I have to create manually the files .htacces and dispatch.fcgi.

I changed databases.yml with my database configuration.

I went to my homepage and I see the message "Welcome aboard" of Rails.
Then, I deleted the index in public folder and chaged routes.rb and the
result in my homepage was:

Index of /aplicacion/public

      Name Last modified Size Description
      Parent Directory -
      404.html 14-Jan-2010 16:27 947
      500.html 14-Jan-2010 16:27 948
      dispatch.fcgi 14-Jan-2010 16:31 380
      favicon.ico 14-Jan-2010 16:27 0
      images/ 14-Jan-2010 16:27 -
      javascripts/ 14-Jan-2010 16:27 -
      robots.txt 14-Jan-2010 16:27 204
      stylesheets/ 14-Jan-2010 16:27 -

Support team only says "see the wiki" but I followed everything! :frowning:

Hello, I want to start my app in dreamhost but it’s impossible!! I

emailed with support team, and I chatted with them, but every solutions

was the same that I did.

I create an app in SSH:

$ script/generate controller home index

I have to create manually the files .htacces and dispatch.fcgi.

I changed databases.yml with my database configuration.

I went to my homepage and I see the message “Welcome aboard” of Rails.

Then, I deleted the index in public folder and chaged routes.rb and the

result in my homepage was:

Index of /aplicacion/public

  Name                    Last modified      Size  Description

  Parent Directory                             -

  404.html                14-Jan-2010 16:27  947

  500.html                14-Jan-2010 16:27  948

  dispatch.fcgi           14-Jan-2010 16:31  380

  favicon.ico             14-Jan-2010 16:27    0

  images/                 14-Jan-2010 16:27    -

  javascripts/            14-Jan-2010 16:27    -

  robots.txt              14-Jan-2010 16:27  204

  stylesheets/            14-Jan-2010 16:27    -

Support team only says “see the wiki” but I followed everything! :frowning:

Jorge, are you using Passenger with your Rails deployment? If not,

I would recommend that you do because these files are not required

for deployment. Next, the path to your public directory should follow

the pattern:

/home///public

Finally, I would recommend setting up capistrano and including your

with the deployed Rails application. One can use the Bundler gem for

this purpose.

-Conrad

Thanks, it works now :slight_smile: I tried in fastcgi.