The Perseus library is now available as a Ruby binding written by Fabien Jobin. It is based on ffi.
The archive contains two files: ffi-perseus.rb and perseus_test.rb. The binding is made by ffi-perseus. It contains four functions only (to make its use as simple as possible):perseus_init
as well as the parameter structure. The perseus_test.rb file shows how to use everything.
Have fun with it.