<div>Hey Folks,</div>
<div> </div>
<div>I'm deploying a camping app on an internal Apache2 + FastCGI server at my office. Of course, on my Mac it works great, but I can't get things to work with Apache and FCGI. I've followed the directions on why's page documenting how to do this, but I'm getting the following error in my Apache
error.log file:</div>
<div> </div>
<div>FastCGI: (dynamic) server "/var/www/campapp/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts</div>
<div> </div>
<div>If I just go run the dispatch.fcgi file, I get no output. I hit enter and I'm back to the prompt. In my web browser, this all shows up as a 500 error.</div>
<div> </div>
<div>Anyone have an idea? Here is a copy of my dispatch file:</div>
<div> </div>
<div>#!/usr/bin/ruby</div>
<div>require 'rubygems'</div>
<div>require 'camping/fastcgi'</div>
<div> </div>
<div>current = File.direname(__FILE__)</div>
<div> </div>
<div>Camping::Models::Base.establish_connection :adapter => 'sqllite3', :database => File.expand_path(current+ '/camping.db')</div>
<div>Camping::FastCGI.server(current)</div>
<div> </div>
<div>Thanks a lot!</div>
<div>-Brian</div>