Using a different Ruby wrapper around liblinear. Had been using https://github.com/fcheung/rubylinear but it was giving me too many segfaults. Now using https://github.com/tomz/liblinear-ruby-swig.