2015-03-26 11:28:08 +00:00
|
|
|
+++
|
|
|
|
date = "2010-03-25"
|
|
|
|
title = "Installing the Nokogiri ruby gem on Debian"
|
|
|
|
tags = ["Linux", "Ruby", "debian", "rubygems", "nokogiri", "gems"]
|
|
|
|
slug = "installing-the-nokogiri-ruby-gem-on-debian"
|
|
|
|
+++
|
|
|
|
To install Nokogiri on a Debian system you need some system packages in place. This snippet will get you going quickly.
|
|
|
|
~
|
|
|
|
First, install the necessary debian packages if you don't have them already:
|
|
|
|
|
2017-03-20 15:35:19 +00:00
|
|
|
``` shell
|
|
|
|
apt-get install build-essential libxml2-dev libxslt1-dev
|
|
|
|
```
|
2015-03-26 11:28:08 +00:00
|
|
|
|
|
|
|
Then you can install nokogiri without any problem with `gem install nokogiri`
|
|
|
|
|
|
|
|
|
|
|
|
|