Sha256: 441bf46045239c9eda5474c62a541a2336edd8048d9f8e2606990ebeaafc5fdd
Contents?: true
Size: 582 Bytes
Versions: 17
Compression:
Stored size: 582 Bytes
Contents
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'mongrel' require 'rack/handler/mongrel' module Ramaze module Adapter # Our Mongrel adapter acts as wrapper for the Rack::Handler::Mongrel. class Mongrel < Base # start server on given host and port. def self.startup(host, port) @server = ::Mongrel::HttpServer.new(host, port) @server.register('/', ::Rack::Handler::Mongrel.new(self)) @server.run end end end end
Version data entries
17 entries across 17 versions & 4 rubygems