I'm trying to get my application to run on InstantRails 1.0. The application works fine using WeBrick, but when I try to run it using Apache in InstantRails, I get:
[Wed May 26 12:26:53 2010] [error] [client 127.0.0.1] couldn't spawn child process: c:/instantrails-1.0/rails_apps/guest/public/dispatch.cgi
In the apache error log, and my browser shows:
Application error
Rails application failed to start properly"
The cookbook application that comes with InstantRails works just fine.
My apache config looks like:
<VirtualHost *>
ServerName guest.havelick.com
# handle all requests through SCGI
SCGIMount /dispatch.fcgi 127.0.0.1:9999
DocumentRoot ${path}/rails_apps/guest/public
<Directory ${path}/rails_apps/guest/public>
Options +FollowSymLinks
Order allow,deny
allow from all
</Directory>
AddDefaultCharset utf-8
ErrorDocument 500 /500.html
ErrorDocument 404 /404.html
</VirtualHost>
and the SCGI port matches that which I am using in the InstantRails config.
What can I do to troubleshoot this?