GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of ry/ebb
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/gnosek/ebb.git
Ryan Dahl (author)
Thu Mar 20 09:51:55 -0700 2008
commit  cebd9c9cba0549bc78c1459f85e8ea3eb6330771
tree    d980e69a61ce022b311bf60d5db844a3d4bc3856
parent  9b659b2e0f56a35f1ab0fd1f9e4508eb9ab9adf8
ebb / benchmark / cgi / scgi-rack.rb
100755 10 lines (8 sloc) 0.256 kb
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
require 'rubygems'
require 'rack'
require 'rack/handler/scgi'
require File.dirname(__FILE__) + '/../application'
 
trap ('INT') { exit }
puts ("Starting SCGI server at 0.0.0.0:9001")
Rack::Handler::SCGI.run(SimpleApp.new, :Port => 9001)