http://gist.github.com/249506

If I pass just the lambda, my server runs fine, but if I pass the
whole builder-created app (any combination of middleware), I get one
of the middleware classes returned from the #call(env) method.

In that code, you're calling a use after the lambda... that lambda is essentially disappearing. You should return that lambda.

If it's any value, I've never liked using the builder personally.

Matt



--
Matt Todd
Highgroove Studios
www.highgroove.com
cell: 404-314-2612
blog: maraby.org

Scout - Web Monitoring and Reporting Software
www.scoutapp.com