From c5f76e5939f90b89d7c5072b9dda9371ec1f7cc4 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 7 Mar 2014 21:35:45 -0500 Subject: [PATCH] Popen (at least on OSX) expects an Array, not a String This was causing the gitlab:check task to exit prematurely with the error "System commands must be given as an array of strings." --- lib/tasks/gitlab/check.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 7bcd4759484..101b06d9586 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -255,7 +255,7 @@ namespace :gitlab do def check_redis_version print "Redis version >= 2.0.0? ... " - if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/) + if run_and_match(%W(redis-cli --version), /redis-cli 2.\d.\d/) puts "yes".green else puts "no".red