Created
September 19, 2011 14:41
-
-
Save fredrick/1226653 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the rest of this snippet assumes installation of libxml 2.7.8. YMMV. | |
brew install libxml2 | |
brew link libxml2 | |
# install libxslt from source | |
wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz | |
tar -zxvf libxslt-1.1.26.tar.gz | |
cd libxslt-1.1.26 | |
./configure --prefix=/usr/local/Cellar/libxslt/1.1.26 \ | |
--with-libxml-prefix=/usr/local/Cellar/libxml2/2.7.8 | |
make | |
sudo make install | |
gem install nokogiri -- --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment