Skip to content

Instantly share code, notes, and snippets.

@rbq
Created September 22, 2011 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbq/1235374 to your computer and use it in GitHub Desktop.
Save rbq/1235374 to your computer and use it in GitHub Desktop.
Install the Nokogiri rubygem on Uberspace
# Instructions: http://nokogiri.org/tutorials/installing_nokogiri.html
# See also: https://github.com/tenderlove/nokogiri/issues/243
toast arm libxml libxslt && \
gem install nokogiri -- \
--with-xml2-lib=$HOME/.toast/armed/lib \
--with-xml2-include=$HOME/.toast/armed/include/libxml2 \
--with-xslt-dir=$HOME/.toast/armed
bundle config build.nokogiri \
--with-xml2-dir=$HOME/.toast/armed/ \
--with-xslt-dir=$HOME/.toast/armed/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment