Class: Merb::Rack::FastCGI

Inherits:
Object show all
Defined in:
lib/merb-core/rack/adapter/fcgi.rb

Class Method Summary collapse

Class Method Details

.start(opts = {}) ⇒ Object

Parameters

opts<Hash>

Options for FastCGI (see below).

Options (opts)

:app<String>>

The application name.

:api: plugin


12
13
14
15
16
# File 'lib/merb-core/rack/adapter/fcgi.rb', line 12

def self.start(opts={})
  Merb.logger.warn!("Using FastCGI adapter")
  Merb::Server.change_privilege
  ::Rack::Handler::FastCGI.run(opts[:app], opts)
end