diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-28 07:20:27 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-28 07:27:17 +0000 |
commit | 9684ed46e78dab1ae787fe135a3cec1c4490ddd6 (patch) | |
tree | cd76fb5f0a4e05683e3370ea97e652ff28472808 | |
parent | 37c376a9253ed62d134cbb4dbc6eaecc6076c77e (diff) | |
download | rainbows-9684ed46e78dab1ae787fe135a3cec1c4490ddd6.tar.gz |
No point in keeping it around to eat memory.
-rw-r--r-- | bin/rainbows | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/rainbows b/bin/rainbows index d56c5bb..878b3f2 100644 --- a/bin/rainbows +++ b/bin/rainbows @@ -8,7 +8,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]" @@ -106,7 +106,8 @@ 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) +op = nil if $DEBUG require 'pp' |