Skip to content
Snippets Groups Projects
Commit 2e34b7aa authored by tonic's avatar tonic
Browse files

fix redis 3.0.0

parent 54d7962f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -282,7 +282,8 @@ namespace :gitlab do
def check_redis_version
print "Redis version >= 2.0.0? ... "
 
if run_and_match(%W(redis-cli --version), /redis-cli 2.\d.\d/)
redis_version = run(%W(redis-cli --version))
if redis_version.try(:match, /redis-cli 2.\d.\d/) || redis_version.try(:match, /redis-cli 3.\d.\d/)
puts "yes".green
else
puts "no".red
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment