Last active
December 27, 2015 01:49
Revisions
-
jbbarth revised this gist
Nov 2, 2013 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ cd /path/to/your/project #install libxml2 v2.8.0 instead of 2.9+ and libxslt 1.1.26 instead of 1.1.28 brew unlink libxml2 brew unlink libxslt @@ -11,8 +12,15 @@ brew switch libxml2 2.8.0 brew switch libxslt 1.1.26 brew link libxml2 --force brew link libxslt --force #FOR REDMINE: #now back to redmine dir cd - gem uninstall -a -I -x nokogiri bundle config build.nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.8.0/include/libxml2/ --with-xml2-lib=/usr/local/Cellar/libxml2/2.8.0/lib/ --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 bundle install #check versions loaded by nokogiri rails runner 'puts "nokogiri: #{Nokogiri::LIBXML_VERSION} / #{Nokogiri::LIBXML_PARSER_VERSION}"' #should display: "nokogiri: 2.8.0 / 20800" -
jbbarth revised this gist
Nov 2, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ cd /path/to/your/project #install libxml2 v2.8.0 instead of 2.9+ and libxslt 1.1.26 instead of 1.1.28 brew unlink libxml2 brew unlink libxslt cd $(brew --prefix) -
jbbarth revised this gist
Nov 2, 2013 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,16 @@ cd /path/to/your/project #install libxml2 v2.8.0 instead of 2.9+ brew unlink libxml2 brew unlink libxslt cd $(brew --prefix) git checkout $(brew versions libxml2 | grep 2.8.0 | sed -e 's/.*checkout//') git checkout $(brew versions libxslt | grep 1.1.26 | sed -e 's/.*checkout//') brew install libxml2 brew install libxslt brew switch libxml2 2.8.0 brew switch libxslt 1.1.26 brew link libxml2 --force brew link libxslt --force #now back to redmine dir cd - gem uninstall -a -I -x nokogiri -
jbbarth revised this gist
Oct 31, 2013 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,13 @@ cd /path/to/your/project #install libxml2 v2.8.0 instead of 2.9+ brew unlink libxml2 cd $(brew --prefix) git checkout $(brew versions libxml2 | grep 2.8.0 | sed -e 's/.*checkout//') brew install libxml2 brew switch libxml2 2.8.0 brew link libxml2 --force #now back to redmine dir cd - gem uninstall -a -I -x nokogiri bundle config build.nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.8.0/include/libxml2/ --with-xml2-lib=/usr/local/Cellar/libxml2/2.8.0/lib/ --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 bundle install -
jbbarth created this gist
Oct 31, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ cd /path/to/your/rails/project #install libxml2 v2.8.0 instead of 2.9+ cd $(brew --prefix) git checkout $(brew versions libxml2 | grep 2.8.0 | sed -e 's/.*checkout//') brew unlink libxml2 #now back to redmine dir cd - gem uninstall nokogiri bundle config build.nokogiri -- --with-xml2-dir=/usr bundle install