sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 5186cf7738b365d5e073ba3ec5938fa627508fcd
parent 4b9385ed38a426bbfda833ae5993d36e36582a2f
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Mon, 18 Jan 2010 12:02:25 -0500

fix up crummy library checking code

Moral of the story: Don't push before you think!

Diffstat:
M lib/sup.rb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -196,9 +196,8 @@ EOM
   def check_library_version_against v
     unless Redwood::VERSION == v
       $stderr.puts <<EOS
-
 Error: version mismatch!
-The sup executable is at version #{BIN_VERSION.inspect}.
+The sup executable is at version #{v.inspect}.
 The sup libraries are at version #{Redwood::VERSION.inspect}.
 
 Your development environment may be picking up code from a
@@ -206,11 +205,13 @@ rubygems installation of sup.
 
 If you're running from git with a commandline like
 
-  ruby -Ilib bin/#{$0}
+  ruby -Ilib #{$0}
 
 try this instead:
 
-  RUBY_INVOCATION="ruby -Ilib" ruby -Ilib bin/#{$0}"
+  RUBY_INVOCATION="ruby -Ilib" ruby -Ilib #{$0}
+
+You can also try `gem uninstall sup` and removing all Sup rubygems.
 
 EOS
       abort