Path: | README.rdoc |
Last Update: | Thu Dec 01 15:39:35 +0000 2011 |
rcairo
Ruby bindings for cairo // cairo extension for Ruby
This way is recommended.
# gem install cairo
For experimental users.
Download rcairo-X.Y.Z.tar.gz from cairographics.org/releases/
Extracting:
% tar xvzf rcairo-X.Y.Z.tar.gz
Compiling:
% cd rcairo-X.Y.Z % ruby extconf.rb # to check for dependencies and create Makefiles % make # to compile # make install # to install the cairo extension. # The samples in the samples folder should be able # to run before installation except text-on-path.rb # and text2.rb. They uses Ruby/Pango with rcairo # support. So you need to install rcairo and build # Ruby/Pango with it before you run them.
Options to extconf.rb:
* --without-vendor-override: Use system libraries instead of those found in vendor/local for compiling
cairo-X.Y.Z-x86-mswin32.gem includes cairo related binaries.
There is the rcairo repository at GitHub: github.com/rcairo/rcairo
If you have trouble with cairo or rcairo, or you have some ideas for how it could be improved, please feel free to send a message to the cairo mailinglist at cairo@cairographics.org , which is archived at
cairographics.org/cgi-bin/mailman/listinfo/cairo