Ruby bindings for cairo are available at GitHub since 2010/08/21. The old repository is available in the cairo CVS, module rcairo.
Install: RubyGems
For RubyGems users.
% sudo gem install cairo
Install: tar.gz
For non-RubyGems users.
The latest version is rcairo-1.8.5
% wget http://cairographics.org/releases/rcairo-X.X.X.tar.gz
% tar xvzf rcairo-X.X.X.tar.gz
% cd rcairo-X.X.X
% ruby extconf.rb
% make
% sudo make install
Documentation
git
Anonymous access:
% git clone git://github.com/rcairo/rcairo.git
For developers:
% git clone git@github.com:rcairo/rcairo.git
Features
- PNG saving
- PostScript saving
- PDF saving
- SVG saving
- Win32 support
- Quartz support
- all cairo API
TODO
- Documentation in English (there is full documentation in Japanese)
- Format engine (table, chart, ...)
- QR code module
Dependencies (cairo binding)
cairo, cairo development files
ruby, ruby header development files
