bin/rainbows in rainbows-0.6.0 vs bin/rainbows in rainbows-0.7.0
- old
+ new
@@ -67,11 +67,11 @@
end
opts.on("-P", "--pid FILE", "DEPRECATED") do |f|
warn %q{Use of --pid/-P is strongly discouraged}
warn %q{Use the 'pid' directive in the Unicorn config file instead}
- options[:pid] = File.expand_path(f)
+ options[:pid] = f
end
opts.on("-s", "--server SERVER",
"this flag only exists for compatibility") do |s|
warn "-s/--server only exists for compatibility with rackup"
@@ -84,10 +84,10 @@
"(default: #{Unicorn::Const::DEFAULT_LISTEN})") do |address|
listeners << address
end
opts.on("-c", "--config-file FILE", "Unicorn-specific config file") do |f|
- options[:config_file] = File.expand_path(f)
+ options[:config_file] = f
end
# 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