Re: FCGI / Dreamhost

PJ Hyett
Mon, 07 Nov 2005 10:47:57 -0000

Startup ./script/server to see what errors webrick throws to get a
better idea of the problem. (I just dealt with the same issues tonight
on Dreamhost)

-PJ
http://pjhyett.com

On 11/7/05, patrick k
<patrick-KzucmO8QuWNZ0wkgCNX5VF6hYfS7NtTn@public.gmane.org>
wrote:
> 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