diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index 7bcd4759484b631d93fe04f99cba9acbebced34c..101b06d95869616b69aa4741cc7c01d9c610f889 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