Also, I found out that PubNub had released a newer version that dropped EventMachine in favor of Celluloid (which is another concurrency library for Ruby). We upgraded to that version as well.
The notorious callback that drove me nuts — starring PostgreSQL, Unicorn, PubNub, EventMachine …
Steve Robinson
94
Its good they picked new concurrency tool