Classyfier provides a Ruby implementation of a small number of document classifiers including: english language, author gender, author location and generic naive bayes.
Btw, this gem is great. Does exactly what I wanted bayes_motel to do (no offense mperham -- I know it was just a short project). The data counts feature is really handy. Other cleanups and improvements are great. ๐ฐ