Sha256: 5cad0a38e5b99e694eb3222da493f9f9e1856b9d571c694a5d32daf4b5e4b28b
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 Bytes
Contents
# Copyright (c) 2008 Jeremy Evans code@jeremyevans.net # All files in this distribution are subject to the terms of the Ruby license. require 'rack/handler/scgi' module Ramaze module Adapter # Our Scgi adapter acts as wrapper for the Rack::Handler::SCGI. class Scgi < Base class << self # start SCGI in a new thread def run_server host, port Thread.new do Thread.current[:task] = :cgi Rack::Handler::SCGI.run(self, :Host=>host, :Port=>port) end end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
clivecrous-ramaze-0.3.9.5 | lib/ramaze/adapter/scgi.rb |
ramaze-0.3.9.1 | lib/ramaze/adapter/scgi.rb |