login
Code, Surf, and Play

Doozer Rides the Unicorn

by greg - Friday, October 23, 2009 11:46:10 PM

I added Unicorn support to Doozer this evening.

Add 'server: unicorn' in your app.yml clusters section and that's it! To start the server from app_root: script/cluster -C start.

To start the server with an Unicorn config-file just pass '-c FILE' to the cluster script.

Doozer support for Unicorn was necessary because Rack doesn't come with a default handler like it does with CGI, FastCGI, Mongrel, EventedMongrel, SwiftipliedMongrel, WEBrick, LSWS, SCGI, or Thin.

blog comments powered by Disqus