ivalkeen/kapify — pull request #1 by hyperrjas (2013-02-16 13:06:24+00:00)
Title: fixed the error `initialize': Address already in use - /tmp/mf9.sock (Errno::EADDRINUSE)

I was having this error with unicorn and these small changes I could fix this error and unicorn now is working fine on my server when I make a new deploy with capistrano:

I, [2013-02-16T04:40:36.684295 #17208] INFO -- : inherited addr=/tmp/mf9.sock fd=11
I, [2013-02-16T04:40:36.684790 #17208] INFO -- : Refreshing Gem list
I, [2013-02-16T04:41:29.657885 #17208] INFO -- : master process ready
I, [2013-02-16T04:41:30.052230 #17766] INFO -- : worker=0 ready
I, [2013-02-16T04:41:44.437784 #13944] INFO -- : reaped # worker=0
I, [2013-02-16T04:41:44.538832 #13944] INFO -- : master complete

I was able to fix this error thank you to:

http://www.rostamizadeh.net/blog/2012/03/09/wrangling-unicorn-usr2-signals-and-capistrano-deployments/

If you think these changes can improve the gem, you can add them. Regards!