[PATCH] Add -N or --no-default-middleware option.

Eric Wong normalperson at yhbt.net
Tue Jan 29 03:52:48 UTC 2013

Lin Jen-Shin <godfat at godfat.org> wrote:
> +  opts.on("-N", "--no-default-middleware",
> +          "no default middleware even if RACK_ENV is development") do |e|

RACK_ENV=deployment also loads middleware, so I think it's more accurate

	do not load middleware implied by RACK_ENV

This also puts us back within the 80-column limit imposed by "test_help"
in test/exec/test_exec.rb

Will sign-off and push that change squashed unless there are objections.

I also just bumped master to rack 1.5.1, which fixes the Rack::Lint
test regression in 1.5.0.

Will pull in the "hijack" branch into master soon (and release 4.6.0)
since all my questions about it have been answered in rack-devel.

More information about the mongrel-unicorn mailing list