Created
December 12, 2012 16:46
-
-
Save rietta/4269397 to your computer and use it in GitHub Desktop.
Add the following alias to your .bashrc file to be able to run the "nokofix" command in a project while running bundler. This assumes that libiconv was installed using brew.
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
alias nokofix="gem install nokogiri -- --with-xml2-dir=/usr/local/Cellar/libxml2/2.7.8 --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-iconv-dir=/usr/local/Cellar/libiconv/1.13.1/ && bundle config build.nokogiri – –with-xml2-dir=/usr/local/Cellar/libxml2/2.7.8 –with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 –with-iconv-dir=/usr/local/Cellar/libiconv/1.13.1/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment