From 14f130e6be39b3f9a0ff8f2e82f0799ed894f38c Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Mon, 25 Aug 2014 11:39:05 -0400 Subject: [PATCH] Do not blow up in crunch-dispatch.rb: do not pass --jobs and --pipelines arguments to Rails. no issue # --- services/api/script/crunch-dispatch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb index 33f53692bc..bb7ce7e12d 100755 --- a/services/api/script/crunch-dispatch.rb +++ b/services/api/script/crunch-dispatch.rb @@ -17,6 +17,8 @@ if not ($options[:jobs] or $options[:pipelines]) abort "Nothing to do. Please specify at least one of: --jobs, --pipelines." end +ARGV.reject! { |a| a =~ /--jobs|--pipelines/ } + $warned = {} $signal = {} %w{TERM INT}.each do |sig| -- 2.30.2