title: Passenger/Nginx error "unexpected end of file detected."
body: <p>I'm trying to run my applications under Passenger 3.0.2 on Mac OSX 10.6.4 with Rails 2.3.8 and 3.0.4. Using Ruby EE v2011.01. And Nginx.</p>
  
  <p>I have completed this successfully on my laptop, and on a Redhat server. However, on my Mac Pro I am getting the following on both apps:</p>
  
  <pre><code>Passenger encountered the following error:
  The application spawner server exited unexpectedly: Unexpected end-of-file detected.
  </code></pre>
  
  <p>Nginx log file shows a segmentation fault:</p>
  
  <pre><code>/opt/ruby-enterprise-1.8.7-2011.01/lib/ruby/gems/1.8/gems/passenger-3.0.2/lib/phusion_passenger/utils.rb:708: [BUG] Segmentation fault
  ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10.4.0], MBARI 0x6770, Ruby Enterprise Edition 2011.01
  </code></pre>
  
  <p>I KNOW this has to be some gem issue. Unfortunately Passenger is not reporting it, and I have it's log level set to 3.</p>
  
  <p>I have seen a few logging issues in Passenger that have caused me some headaches. I'm not complaining, it's free and it's fast. But I don't know how to get past this one.</p>