diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-02-28 19:19:23 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-02-28 19:19:23 -0800 |
commit | 947b8e5d312446b63a7dbd5be51a1bebf421cea8 (patch) | |
tree | e399cb6a06074ac2d11728a98adba9a0de1de5ff /bin/unicorn_rails | |
parent | 706cc445863ff99d8605257a43e7bbd633c604c8 (diff) | |
download | unicorn-947b8e5d312446b63a7dbd5be51a1bebf421cea8.tar.gz |
Diffstat (limited to 'bin/unicorn_rails')
-rwxr-xr-x | bin/unicorn_rails | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/unicorn_rails b/bin/unicorn_rails index 5204145..a27e9df 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -4,7 +4,6 @@ require 'unicorn/launcher' require 'optparse' require 'fileutils' -cmd = File.basename($0) daemonize = false listeners = [] options = { :listeners => listeners } @@ -13,6 +12,7 @@ set_listener = false ENV['RAILS_ENV'] ||= "development" opts = OptionParser.new("", 24, ' ') do |opts| + cmd = File.basename($0) opts.banner = "Usage: #{cmd} " \ "[ruby options] [#{cmd} options] [rackup config file]" opts.separator "Ruby options:" |