This library has moved Cosm is now Xively. This library can now be found at: https://github.com/xively/xively-rb