Jelajahi Sumber

Require redis 2.6.12 or greater

James Allen 12 tahun lalu
induk
melakukan
dcec6837b4
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 3 3
      Gruntfile.coffee
  2. 1 1
      README.md

+ 3 - 3
Gruntfile.coffee

@@ -178,13 +178,13 @@ module.exports = (grunt) ->
 						error = new Error("Unknown redis version")
 					else
 						version = m[1]
-						if semver.gt(version, "2.6.0")
+						if semver.gte(version, "2.6.12")
 							grunt.log.writeln "OK."
 							grunt.log.writeln "Running Redis version #{version}"
 						else
 							grunt.log.error "FAIL."
-							grunt.log.error "Redis version is too old (#{version}). Must be 2.6.0 or greater."
-							error = new Error("Redis version is too old (#{version}). Must be 2.6.0 or greater.")
+							grunt.log.error "Redis version is too old (#{version}). Must be 2.6.12 or greater."
+							error = new Error("Redis version is too old (#{version}). Must be 2.6.12 or greater.")
 				callback(error)
 
 		checkLatexmk: (callback = (error) ->) ->

+ 1 - 1
README.md

@@ -61,7 +61,7 @@ ShareLaTeX should run on OS X and Linux. You need:
 
 * [Node.js](http://nodejs.org/) 0.10 or greater. We recommend that you use [nvm](https://github.com/creationix/nvm) to install it.
 * The [grunt](http://gruntjs.com/) command line tools (Run `npm install -g grunt-cli` to install them)
-* A local instance of [Redis](http://redis.io/topics/quickstart) (version 2.6 or later) and [MongoDB](http://docs.mongodb.org/manual/installation/) running on their standard ports.
+* A local instance of [Redis](http://redis.io/topics/quickstart) (version 2.6.12 or later) and [MongoDB](http://docs.mongodb.org/manual/installation/) running on their standard ports.
 * [TeXLive](https://www.tug.org/texlive/) 2013 or later with the `latexmk` program installed.
 
 Config