Reputation: 3341
Keep getting below whenever running rspec in sublime text 2. I'm also using guard with spork.:
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1
I'm running mavericks if that makes a difference. I'm not sure what this means and have been trying a lot of different stuff but no luck so far.
Any help is appreciated.
Upvotes: 4
Views: 4349
Reputation: 678
I also was getting this error frequently on OS X 10.9.1. This answer did the trick for me: https://stackoverflow.com/a/14658949/1769539
Or, to save you the trip - here's what worked for me, specifically:
"If you installed Nokogiri with bundle install, you can resolve this warning by running bundle exec gem pristine nokogiri
and then 'bundle install'"
Upvotes: 6
Reputation: 5411
Looks like you have updated your system libraries after installing the gem, so you have to update nokogiri, to use the current lib version.
gem install nokogiri -- --use-system-libraries
Upvotes: 0