Creating socket applications

Hello guys!

What gem do you use when you need to create a socket application, with controllers and routing responding to socket calls instead of web requests?