diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-04-13 08:05:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-04-13 08:05:51 +0000 |
commit | 3c8f21a4257578e9cdc4781dd21a6a572e25ca54 (patch) | |
tree | 78c4ba49cddb12459f71a84aad72e706ff419ddd /bin/unicorn | |
parent | 1355d262288352c2ced67cefc2301cee79bec0dd (diff) | |
download | unicorn-3c8f21a4257578e9cdc4781dd21a6a572e25ca54.tar.gz |
Diffstat (limited to 'bin/unicorn')
-rwxr-xr-x | bin/unicorn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/unicorn b/bin/unicorn index 86c938b..f8c20dc 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -7,7 +7,7 @@ ENV["RACK_ENV"] ||= "development" rackup_opts = Unicorn::Configurator::RACKUP options = rackup_opts[:options] -opts = OptionParser.new("", 24, ' ') do |opts| +op = OptionParser.new("", 24, ' ') do |opts| cmd = File.basename($0) opts.banner = "Usage: #{cmd} " \ "[ruby options] [#{cmd} options] [rackup config file]" @@ -105,7 +105,7 @@ opts = OptionParser.new("", 24, ' ') do |opts| opts.parse! ARGV end -app = Unicorn.builder(ARGV[0] || 'config.ru', opts) +app = Unicorn.builder(ARGV[0] || 'config.ru', op) if $DEBUG require 'pp' |