Commit c5f76e5939f90b89d7c5072b9dda9371ec1f7cc4
1 parent
c3f088d2
Exists in
spb-stable
and in
3 other branches
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."
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 |