Re: FCGI / Dreamhost

patrick kranzlmüller
Mon, 07 Nov 2005 11:45:21 -0000

no errors (i guess):

=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2005-11-07 03:34:17] INFO  WEBrick 1.3.1
[2005-11-07 03:34:17] INFO  ruby 1.8.2 (2005-04-11) [i386-linux]
[2005-11-07 03:34:17] INFO  WEBrick::HTTPServer#start: pid=6119
port=3000


Am 07.11.2005 um 11:47 schrieb PJ Hyett:

> 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
>>
>>
>> _______________________________________________
>> Rails mailing list
>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>>