Module Innate::Adapter
In: lib/innate/adapter.rb

Lightweight wrapper around Rack::Handler, will apply our options in a unified manner and deal with adapters that don‘t like to do what we want or where Rack doesn‘t want to take a stand.

Rack handlers as of 2009.03.25: cgi, fastcgi, mongrel, emongrel, smongrel, webrick, lsws, scgi, thin

Methods

Included Modules

Optioned

Public Class methods

Pass given app to the Handler, handler is chosen based on config.adapter option. If there is a method named start_name_of_adapter it will be run instead of the default run method of the handler, this makes it easy to define custom startup of handlers for your server of choice.

Due to buggy autoload on Ruby 1.8 we have to require ‘ebb’ manually. This most likely happens because autoload doesn‘t respect the require of rubygems and uses the C require directly.

Thin shouldn‘t give excessive output, especially not to $stdout

A simple Unicorn wrapper.

We want webrick to use our logger.

[Validate]