Skip to content
i5m edited this page Sep 13, 2010 · 2 revisions

As a Gem

You may get the latest stable version from Rubyforge. Win32 binaries, JRuby versions and source gems are available.

$ gem install hpricot

As Hpricot is still under active development, you can also try the most recent candidate build here:

$ gem install hpricot --source http://code.whytheluckystiff.net

The development gem is usually in pretty good shape actually.

From Source

If you’d prefer not to use RubyGems, you can also acquire a plain Ruby distribution: http://code.whytheluckystiff.net/dist/hpricot-0.5.140.tgz (18-Apr-2007)

From Github

Checkout the Hpricot trunk:

$ git clone git://github.com/whymirror/hpricot.git
$ cd hpricot
$ rake 
(will compile Hpricot and run the tests)
$ sudo rake install
(will install the gem)