]> git.cworth.org Git - sup/commit
explicitly load index version, for better error messages
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 24 Jun 2009 13:10:19 +0000 (09:10 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 24 Jun 2009 13:45:14 +0000 (09:45 -0400)
commitb6097e518d47e94adb5231451cba6ccbecb7cf00
tree0060fb5fa8282bc9ed814e29b8af19f526c2bb3f
parent59f8fc2e4bc809d5dfc7c1af747879dae00539d8
explicitly load index version, for better error messages

Catching the LoadError was masking errors from not having dependent
library like xapian and gdbm. This change makes the error messages
reflect what's actually missing. Since we're adding index types at
roughly once every 3 years, an explicit list like this shouldn't be too
difficult to maintain.
lib/sup/index.rb