Sha256: 117b9e1a16b457dd5a1e55efca43d9de61bd83ddff65bf1f89323e50e115a158
Contents?: true
Size: 468 Bytes
Versions: 4
Compression:
Stored size: 468 Bytes
Contents
REDIS_RELEASE = "2.4.10" Execute.define_task do desc "redis-download", "Download redis release #{REDIS_RELEASE}" def redis_download unless windows? system 'rm -rf /tmp/redis/' if File.exists?("#{RedisRunner.redisdir}") system 'git clone git://github.com/antirez/redis.git /tmp/redis -n' system "cd #{RedisRunner.redisdir} && git reset --hard && git checkout #{REDIS_RELEASE}" else puts "Not implemented on Windows" end end end
Version data entries
4 entries across 4 versions & 1 rubygems