Installing a Ruby Library

So you found something on Github that you want to install like hpricot.

Command

$ gem install hpricot

This works if you have the project file with an extension of gemspec.