sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit aa7691de297a239380d6cf5bcb689473f13ba713
parent 4c94418999ab6464cf70897b6ee2c3a5e2a98012
Author: Whyme Lyu <callme5long@gmail.com>
Date:   Sun,  2 Jun 2013 21:39:32 +0800

Notify user to remove xapian-full-alaveteli

Diffstat:
M lib/sup/index.rb | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
@@ -11,8 +11,15 @@ require "sup/hook"
 require "sup/logger/singleton"
 
 
-if ([Xapian.major_version, Xapian.minor_version, Xapian.revision] <=> [1,2,1]) < 0
-	fail "Xapian version 1.2.1 or higher required"
+if ([Xapian.major_version, Xapian.minor_version, Xapian.revision] <=> [1,2,15]) < 0
+  fail <<-EOF
+\n
+Xapian version 1.2.15 or higher required.
+If you have xapian-full-alaveteli installed,
+Please remove it by running `gem uninstall xapian-full-alaveteli`
+since it's been replaced by the xapian-ruby gem.
+
+  EOF
 end
 
 module Redwood