Excerpts from Ben Walton's message of Sat Aug 29 13:35:03 -0500 2009:
> 
> I just tried again to switch to xapian and I got the following:
> 
> $ SUP_INDEX=xapian ruby -Ilib bin/sup-sync --all --all-sources --restore
> ~/.sup/dumpfile 
> Loading state dump from /cquest/roger/staff0/systems/bwalton/.sup/dumpfile...
> Read 72360 entries from dump file.
> Scanning maildir:///u/bwalton/Maildir/...
> [Sat Aug 29 14:29:11 -0400 2009] hook: read 'before-add-message' from
> /cquest/roger/staff0/systems/bwalton/.sup/hooks/before-add-message.rb
> ./lib/sup/xapian_index.rb:365:in `find_docid': undefined method `tap'
> for []:Array (NoMethodError)
>
>  [...]
> 

I am getting this same error myself. I'm running Mac OS 10.5 with ruby 1.8.6.
Are you also using ruby 1.8.6? I think the tap method is in ruby 1.8.7 and
later. Actually a quick google shows it may even be ruby 1.9 only, or 1.9 and
backported from there.

Is it necessary to use this method? Is there an alternate way to do this?

-- Blake Burkhart
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to