/usr/lib/ruby/vendor_ruby/merb-core/rack/adapter/fcgi.rb is in ruby-merb-core 1.1.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | module Merb
module Rack
class FastCGI
# ==== Parameters
# opts<Hash>:: Options for FastCGI (see below).
#
# ==== Options (opts)
# :app<String>>:: The application name.
#
# :api: plugin
def self.start(opts={})
Merb.logger.warn!("Using FastCGI adapter")
Merb::Server.change_privilege
::Rack::Handler::FastCGI.run(opts[:app], opts)
end
end
end
end
|