Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created November 6, 2011 20:48
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 mrchrisadams/1343456 to your computer and use it in GitHub Desktop.
Save mrchrisadams/1343456 to your computer and use it in GitHub Desktop.
does this work for you? It bloody well doesn't for me
brew install libxml2
wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
tar xvfz 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
rvm use 1.8.7
rvm gemset create nokogiri-libxml-issue
rvm gemset use nokogiri-libxml-issue
gem install nokogiri
say "curse you, lion"
brew install libxml2
wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
tar xvfz 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
rvm use 1.9.2
rvm gemset create nokogiri-libxml-issue
rvm gemset use nokogiri-libxml-issue
gem install nokogiri
say "yaaaargh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment