felix clack

  • Archive
  • RSS
  • Ask me anything

Passenger Error: The application spawner server exited unexpectedly: Unexpected end-of-file detected

I got this error this morning after I thought it’d be a good idea to migrate my new Rails 3 app to Ruby 1.9.2.

Kind of a weird error because it doesn’t seem that helpful on the surface.

Digging into the Apache error logs revealed this error mesage:

[BUG] cross-thread violation on rb_gc()
(null) 

Ok, now we’re getting somewhere. This is an error due to gems being compiled in a different version of Ruby. Ah, now it makes sense. I was using bundler with the path set to /my/app/gems and they were all compiled against REE 1.8.7.

rm -rf gems
bundle install --path gems

Fixed that problem. I then ran into another error message:

git://github.com/binarylogic/authlogic.git not checked out

I’m running the edge version of Authlogic and for some reason Passenger was having a hard time with it. Right, could be to do with me running preview 4 of Passenger 3. A quick

gem install passenger

and an update to httpd.conf later and my app was back.

    • #rails
    • #passenger
    • #ruby
    • #server
    • #os x
  • 1 year ago
  • Permalink
  • Share
    Tweet

About

London based developer specialising in all things Ruby.

Felix on Github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr