An XMPP BOSH connection manager, written in Ruby with EventMachine and usable as both a standalone connection manager and as part of a rack app (at least with Thin). Currently in an alpha-ish state. Has been used in a fair amount of testing, but not in production. ChessFlock (http://github.com/smparkes/chessflock) is the current client app.
Gemfile gem 'kibosh', '~> 0.1.0'
install gem install kibosh