mosq
A Ruby MQTT client library based on FFI bindings for libmosquitto.
$ gem install mosq
System Requirements
The mosq gem requires libffi-dev, as well as the requirements for building libmosquitto. Note that on Linux, the library will be built with make, though on Mac OS X cmake is required.