Problem on Dreamhost: engine for rails 1.1.6

Hi,

I’m trying to set up Substruct (shopping cart engine) on Dreamhost.
I failed several times and tracked down to the problem area.

I can reproduce the problem with these steps:

  1. install rails
  2. change public/.htaccess for fcgi
  3. change public/dispatch.fcgi for RailsFCGIHandler

At this step, I can execute public/dispatch.fcgi without error.

  1. svn co http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-6 vendor/
    rails

Now…
$public/dispatch.fcgi
I get


Status: 500 Internal Server Error
Content-Type: text/html

We're sorry, but something went wrong body { background-color: #fff; color: #666; text- align: center; font-family: arial, sans-serif; } div.dialog { width: 25em; padding: 0 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; } h1 { font-size: 100%; color: #f00; line-height: 1.5em; }

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

-------

What’s wrong with that?

Thanks.

Sam

Two things. I presume there’s nothing being logged in the Rails log
directory, right? Okay. Good. First, try firing up the old
“script/console”
and see if/what errors you get from that. Second, look at the Apache
error
logs [usually found in ~/logs/YOUR_DOMAIN_NAME/http/ ] Sometimes [but
rarely!] there’s actually useful information in there. But usually the
console will reveal the nasties breaking your code. Hope that helps.

RSL