Commit c5f76e59 authored by Robert Speicher's avatar Robert Speicher

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."
parent c3f088d2
...@@ -255,7 +255,7 @@ namespace :gitlab do ...@@ -255,7 +255,7 @@ namespace :gitlab do
def check_redis_version def check_redis_version
print "Redis version >= 2.0.0? ... " 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 puts "yes".green
else else
puts "no".red puts "no".red
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment