Created
November 22, 2013 17:33
-
-
Save teeparham/7603803 to your computer and use it in GitHub Desktop.
upgrade libxml2 and nokogiri, OSX
This file contains hidden or 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
| brew upgrade libxml2 | |
| brew cleanup | |
| gem unin nokogiri | |
| bundle config build.nokogiri --with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2/ --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib/ --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28/ --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include/ --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib/ | |
| bundle install nokogiri | |
| # same as above, but readable: | |
| # bundle config build.nokogiri | |
| # --with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2/ | |
| # --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib/ | |
| # --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28/ | |
| # --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include/ | |
| # --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment