Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8

I have this problem on my Ruby 2.0.0 and Rails 4 config on OSX ML. I do not have this issue on my Arch Linux workstation.

The reason why this warning is so annoying, is that it breaks my Vim plugin (SweetVimRspec), and therefore kills my Vim development workflow, as I cannot test.

I tried every upvoted solution here: Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3

And I cant get rid of it (actually I got rid of it in nokogiri itself, but in rspec and rails console not at all).

like image 930
if __name__ is None Avatar asked Jul 22 '13 21:07

if __name__ is None


1 Answers

I had to install Ruby 1.9.3 on Ubuntu 12.04 and was getting this warning. I found and tried the answer at https://stackoverflow.com/a/14658949/1539589 and it worked perfectly for me.

like image 185
richard Avatar answered Nov 15 '22 04:11

richard