diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-18 15:00:08 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-18 15:00:08 -0700 |
commit | 82167684e868e4e501713d2c03b096db6daab0a0 (patch) | |
tree | 183e97c5ecbdcb4ae81d2d55ad84927150e66670 /bin/unicorn_rails | |
parent | 1aa156429fd926162a112d327dc394cb9772c79c (diff) | |
download | unicorn-82167684e868e4e501713d2c03b096db6daab0a0.tar.gz |
Allow the --rainbows/-R command-line option to be passed to activate Rainbows!!!1
Diffstat (limited to 'bin/unicorn_rails')
-rwxr-xr-x | bin/unicorn_rails | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/unicorn_rails b/bin/unicorn_rails index 1fbc0e2..866833b 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -83,6 +83,8 @@ opts = OptionParser.new("", 24, ' ') do |opts| ENV['RAILS_RELATIVE_URL_ROOT'] = map_path = v end + opts.on("-R", "--rainbows") { options[:rainbows] = true } + # I'm avoiding Unicorn-specific config options on the command-line. # IMNSHO, config options on the command-line are redundant given # config files and make things unnecessarily complicated with multiple |