Well, here’s my contribution to the [so far] rather hacky collection of ruby Websocket clients. It’s MacRuby only as it utilises NSInputStreams as opposed to traditional ruby TCP sockets, and the new Grand Central calls in 0.6. Using it is just a case of creating an instance of Websocket, calling #push on it and implementing a callback to receive whatever gets sent back:
More refinement to come, and maybe a demo. Hack away here.