Sha256: 30968045d13a0f087f7772ef8ac89fba2040cef7ba23ca9b7b81cee23e01113e

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'ramaze/adapter'

module Ramaze::Adapter
  class Fcgi < Base
    class << self
      def start host, ports
        run_server
      end

      def run_server
        Thread.new do
          Thread.current[:task] = :cgi
          Rack::Handler::FastCGI.run(self)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ramaze-0.0.9 lib/ramaze/adapter/fcgi.rb
ramaze-0.0.8 lib/ramaze/adapter/fcgi.rb
ramaze-0.1.0 lib/ramaze/adapter/fcgi.rb
ramaze-0.1.3 lib/ramaze/adapter/fcgi.rb
ramaze-0.1.1 lib/ramaze/adapter/fcgi.rb
ramaze-0.1.2 lib/ramaze/adapter/fcgi.rb