Hello all,

I've just installed sup 0.8.1 from macports on OSX 10.6 with ruby version
1.8.7
It opens my maildir fine and I am pleased with its ability to organize mail
quickly.
I'm trying to add a before-poll.rb hook, but this appears not to be run.
At least, it is not running offlineIMAP and if I insert a divide-by-zero,
nothing explodes.
(If you care, I've attached that file.)
So, I went source-diving
into /opt/local/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup,
but failed to find where PollManager or its method .poll is defined.
I strongly suspect it is in the gem referenced by "require 'sup' "
However, the only files so named that are in my PATH are this file itself
and a wrapper script that invokes it.
Do you know where else I might look for the definition of PollManager or
where I might look to find where it is requiring sup from?

context:
- I've never written a line of ruby.
- I'm inferring that "require 'sup' " is the equivalent of python's "from
sup import *"

thank you,
Andrew Farrell

Attachment: before-poll.rb
Description: Binary data

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

Reply via email to