Add -N or --no-default-middleware option.
commita552fb90230eb65c28897398c7786dc9a13446ca
authorLin Jen-Shin <godfat@godfat.org>
Tue, 29 Jan 2013 03:44:06 +0000 (29 11:44 +0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 29 Jan 2013 04:28:01 +0000 (29 04:28 +0000)
tree56a1158d14c49831e8fbfcc4fe15ec37202a059f
parent49f70632e2f4a9b84fd4fced7439d0844fed1bbd
Add -N or --no-default-middleware option.

This would prevent Unicorn (Rainbows) from adding default middleware,
as if RACK_ENV were always none. (not development nor deployment)

This is implemented in Unicorn, so we only need to update
the option parser here.

Discussion thread on Unicorn mailing list:
http://rubyforge.org/pipermail/mongrel-unicorn/2013-January/001675.html

Signed-off-by: Eric Wong <normalperson@yhbt.net>
bin/rainbows