Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Easy Ruby screen captures with the help of CutyCapt
Ruby
tag: v0.2.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gemtest
.gitignore
.rvmrc
.yardopts
Gemfile
Guardfile
LICENSE
README.md
Rakefile
capit.gemspec

README.md

CapIt!

CapIt provides a simple Ruby interface to Björn Höhrmann's CutyCapt.

Install CutyCapt

Ubuntu/Debian

(from Setting up Headless XServer and CutyCapt on Ubuntu)

sudo apt-get install xvfb
sudo apt-get install xfs xfonts-scalable xfonts-100dpi
sudo apt-get install libgl1-mesa-dri
sudo apt-get install subversion libqt4-webkit libqt4-dev g++
svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
cd cutycapt/CutyCapt
qmake
make

You'll also need to make sure the CutyCapt executable is in your PATH.

OSX (via Homebrew)

brew install cuty_capt

Install CapIt

gem install capit

Usage

require 'capit'
capit = CapIt::Capture("http://www.github.com")
Something went wrong with that request. Please try again.