unicorn_rails: support non-Rack versions of Rails
commit0b095ea72fb849682a1185a626eef247b5afc1cd
authorEric Wong <normalperson@yhbt.net>
Mon, 23 Mar 2009 09:03:31 +0000 (23 02:03 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 23 Mar 2009 21:42:41 +0000 (23 14:42 -0700)
treeb8f74a3160b3842bbebcf2fe3c5c917ec088e8eb
parent451a1022e16ec6307328125a41244a837c6edcdf
unicorn_rails: support non-Rack versions of Rails

This resurrects old code from Mongrel to wrap the Rails
Dispatcher for older versions of Rails.  It seems that
Rails >= 2.2.0 support Rack, but only >=2.3 requires it.

I'd like to support Rails 1.2.x for a while, too.
README
bin/unicorn_rails
lib/unicorn/app/old_rails.rb [new file with mode: 0644]
lib/unicorn/app/old_rails/static.rb [new file with mode: 0644]
lib/unicorn/cgi_wrapper.rb [new file with mode: 0644]