Ruby bindings for cairo are available at GitHub since 2010/08/21. Install: RubyGems For RubyGems users. % sudo gem install cairo For Windows user: % gem install cairo --platform x86-mingw32 Install: tar.gz For non-RubyGems users. The latest version is rcairo-1.10.0 % 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