FCGI / Dreamhost

patrick k
Mon, 07 Nov 2005 09:24:29 -0000

i know that this issue has been discussed before. i still hope to get some
help here.

i´m on dreamhost, using FCGI and did the following setup:

- using a subdomain (pointing to /public)
- fcgi enabled
- fcgi-handler in /lib
- changed .htaccess
- chmod 755 /public and /public/dispatch*
- changed the shebang-line of dispatch.fcgi to #!/usr/bin/ruby
- environment.rb: RAILS_ENV = ENV[''RAILS_ENV''] ||
''development''

now, i do get an "Application Error (Rails)" - it´s strange, but when
i try
to use my application, the "production.log" gives me a "mysql
error"
(although, i´m using development in environment.rb).

any help is really appreciated.

regards,
patrick