Commit 0142aa5a34eaf5e7425a1d8b5087606471d1fa33

Authored by Jacob Vosmaer
2 parents 2ae6f17d c5f76e59

Merge pull request #6494 from tsigo/fix-redis-version-check

Fix now-invalid invocation of `run_and_match` in gitlab:check
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/check.rake
@@ -255,7 +255,7 @@ namespace :gitlab do @@ -255,7 +255,7 @@ namespace :gitlab do
255 def check_redis_version 255 def check_redis_version
256 print "Redis version >= 2.0.0? ... " 256 print "Redis version >= 2.0.0? ... "
257 257
258 - if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/) 258 + if run_and_match(%W(redis-cli --version), /redis-cli 2.\d.\d/)
259 puts "yes".green 259 puts "yes".green
260 else 260 else
261 puts "no".red 261 puts "no".red