This gem wraps the ZeroMQ networking library using the ruby FFI (foreign function interface). It's a pure ruby wrapper so this gem can be loaded and run by any ruby runtime that supports FFI. That's all of them: MRI 1.9.x, Rubinius and JRuby. The impetus behind this library was to provide support for ZeroMQ in JRuby which has native threads. Unlike MRI, IronRuby and Rubinius which all have a GIL, JRuby allows for threaded access to ruby code from outside extensions. ZeroMQ is heavily threaded, so until the other runtimes remove their GIL, JRuby will likely be the best environment to run this library.

installgem install ffi-rzmq -v 0.7.1

Chuck Remes

169,409 total downloads 1,713 for this version


gem 'ffi-rzmq', '~> 0.7.1'
  1. 2.0.1 January 22, 2014 (45 KB)
  2. 2.0.0 January 8, 2014 (44 KB)
  3. 1.0.3 October 3, 2013 (49.5 KB)
  4. 1.0.2 September 29, 2013 (49.5 KB)
  5. 1.0.1 April 18, 2013 (49 KB)
Show all versions (19 total)
Development Dependencies
  1. bones >= 3.6.2