Guest User

Untitled

a guest
May 22nd, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Install homebrew
  2.  
  3. brew install libxml2
  4.  
  5. brew link libxml2 #this may be enough but didn't work for me with rvm
  6.  
  7. #explicitly tell nokogiri to use you homebrew libxml2 rather than system
  8.  
  9. 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