Starting with Open Babel 2.1, an experimental Ruby interface to the Open Babel library is available.
The Ruby interface is auto-generated, including a Makefile which uses
To generate the Makefile:
% ruby extconf.rb --with-openbabel-include=/usr/local/include/openbabel-2.0 % make
The Ruby interface can be run via
ruby or interactive use via
% irb require 'openbabel'
Rich Apodaca has blogged about the Ruby interface: