Ruby: How to Demonize MailMan (Incoming Mail Processing Firmware)

I use gmail mailman to receive email from the pop3 server and send it to the Rails application. What to do to make mailman a demon? Please tell me how to do this.

Maybe whenever a gem can help? Sort of:

every :reboot do command "cd /home/rails/root && ruby bin/mailman_fetcher.rb" end 
+4
source share
1 answer

Take a look at Daemons, http://daemons.rubyforge.org/

+5
source

All Articles