-
-
Save vparihar01/5856524 to your computer and use it in GitHub Desktop.
FIXME: | |
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
or | |
ERROR -: Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0 | |
gem uninstall nokogiri libxml-ruby | |
brew update | |
brew uninstall libxml2 | |
brew install libxml2 --with-xml2-config | |
brew link --force libxml2 | |
brew install libxslt | |
brew link --force libxslt | |
bundle config build.nokogiri -- --with-xml2-dir=/usr --with-xslt-dir=/opt/local --with-iconv-dir=/opt/local | |
bundle install |
Nice! It's worked for me!
Actually worked. Thank you very much!
This worked for us also. Thank you.
Though we had to make slight adjustments. The gem uninstall had to be run: sudo gem uninstall nokogiri libxml-ruby. There were multiple gem versions installed so all had to be uninstalled. Then bundle install threw an error: Make sure that gem install nokogiri -v '1.6.1'
succeeds before bundling. Simply running: sudo gem install nokogiri -v '1.6.1' fixed the issue and then bundle install then ran fine.
This works perfectly. Thank you!
Yes. Thank you. I'm on Mavericks and still thank you.
THANK YOU! 2 hours wasted and this fixed the issue finally!
Oh thank god you posted this. I wasted like 10 hours on this.
Saved so much time, Thanks!!
Saved my bacon too! Thank you.
OMG <3 <3 <3 you can do evil deeds for the rest of your life but this good deed outweighs it.
Worked for me too, thank you!!!
This also worked for me. Thanks for the instructions!
Thank you! So happy this worked!
Thank you :)! It worked very well!
Thank you. It worked very well with OS X 10.11.2
This is awesome! Thank you!
Worked like a gem!!!! Thanks so much!
It worked!! Almost 3 years later!!
Still working :)
Still working, nice fix!
this would work for me on ruby 2.0.0p648
ai also follow thse steps but still stuck on the same error
Reason: Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0 - /Users/rabnawazjansher/.rvm/gems/ruby-2.0.0-p648/gems/nokogiri-1.6.1/lib/nokogiri/nokogiri.bundle
Magic IT works ...
Thanks! it saved my day
saved my day! thanks a bunch
Thanks you !! Very helpful
after all this time ... this still works in January 2018 ......
thank you so much!!!!!!!!!!
Woot! This worked for me.
Thanks, this is still solving issues after all this time!
2020 and this is still solving issues, thank you!!
Thank you!