ruby on rails - require': incompatible library version - /home/suresh/.gem/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.so (LoadError) -


while running server, getting error incompatible library version.already nokogiri installed in system.any advice

i reinstall rvm or rbenv. try:

$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 

i had similiar issue when upgrading rails 5. worked me.


Comments