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.



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

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