Installing Hpricot

As a Gem

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

$ gem install hpricot

* Note: requiresragel for source gem

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 Subversion

Checkout the Hpricot trunk:

$ svn co https://code.whytheluckystiff.net/svn/hpricot/trunk hpricot
$ cd hpricot
$ rake 
(will compile Hpricot and run the tests)
$ sudo rake install
(will install the gem)