Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install homebrew
- brew install libxml2
- brew link libxml2 #this may be enough but didn't work for me with rvm
- #explicitly tell nokogiri to use you homebrew libxml2 rather than system
- gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.7.7/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.7/lib
Add Comment
Please, Sign In to add comment