From 0c08b142544e717ece5865869e14ead670f64eec Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 10 Jun 2010 18:27:19 -0700 Subject: bin/rainbows: sync up with latest Unicorn This will allow us to be working_directory-aware as far as config.ru goes. --- bin/rainbows | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/rainbows') diff --git a/bin/rainbows b/bin/rainbows index 75c361f..685dd09 100644 --- a/bin/rainbows +++ b/bin/rainbows @@ -110,10 +110,7 @@ opts = OptionParser.new("", 24, ' ') do |opts| opts.parse! ARGV end -config = ARGV[0] || "config.ru" -abort "configuration file #{config} not found" unless File.exist?(config) - -app = Unicorn.builder(config, opts) +app = Unicorn.builder(ARGV[0] || 'config.ru', opts) listeners << "#{host}:#{port}" if set_listener if $DEBUG -- cgit v1.2.3-24-ge0c7