[zeromq-dev] ruby extension

Tamara Kustarova kustarova at fastmq.com
Fri May 15 12:39:18 CEST 2009


Hi everybody,

we have made a ruby extension to work with libzmq. 

It can be run on both Linux and Windows. The source files are found
in /trunk/librbzmq.
To build it on Linux, simply include --with-ruby
--with-ruby=headersdir="path_to_ruby_headers"
To build it on Windows, open zeromq project file, switch to Release mode
and click on librbzmq to build. You will have to specify path to ruby
dirs in project settings.

There are test applications available in /perf/tests/zmq. These are
rb_remote_lat.rb, rb_local_lat.rb, rb_remote_thr.rb, rb_local_thr.rb.
You can run them using:
ruby program_name.rb program_arguments

to get the program arguments, run
ruby program_name.rb

All this can be found in our svn, revision 1468.

Tamara





More information about the zeromq-dev mailing list