zmq-rb provides FFI bindings for ZeroMQ.
Originally, this code resided in
but has been extracted since it could be useful on its own. I've tried
to keep it as close to libzmq as possible, while still taking
advantadge of Ruby features. As a result all methods are named after
those in libzmq (even
Socket#send which might not be Ruby
You must have libzmq
(version 3.2 or later) on your path. On OS X, this can be installed
brew install zmq (you may need to add the flag
--universal to get the path setup properly). If you're on Linux, an
.rpm can be found in the EPEL repo and a .deb in the Ubuntu repo.
gem install zmq-rb
API documentation on rubydoc.info coming soon.