Hi I''m using Fetcher with MMS2R as described in the Peepcode mini-
book.
After I start Fetcher I get the following error a few seconds later:
$ RAILS_ENV=development ruby script/mail_fetcher start
Starting MailFetcherDaemon
$ /usr/local/lib/ruby/1.8/net/imap.rb:288:in `shutdown'': Socket is not
connected (Errno::ENOTCONN)
from /usr/local/lib/ruby/1.8/net/imap.rb:288:in `disconnect''
from myapp/vendor/plugins/fetcher/lib/fetcher/imap.rb:63:in
`close_connection''
from myapp/vendor/plugins/fetcher/lib/fetcher/base.rb:33:in `fetch''
from script/mail_fetcher:16:in `start''
from script/mail_fetcher:15:in `loop''
from script/mail_fetcher:15:in `start''
from myapp/lib/daemon.rb:55:in `start''
from myapp/lib/daemon.rb:45:in `fork''
from myapp/lib/daemon.rb:45:in `start''
from myapp/lib/daemon.rb:32:in `daemonize''
from myapp/lib/daemon.rb:14:in `daemonize''
from script/mail_fetcher:27
When I comment out the @connection.disconnect line in imap.rb of
course it''s fine (but of course causes problems later after a
receiving a few emails ok).
Bit of a noob to this area, any ideas?
I''m on Rails 2.1.1.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---