about summary refs log tree commit homepage
path: root/bin/rainbows
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rainbows')
-rw-r--r--bin/rainbows5
1 files changed, 1 insertions, 4 deletions
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