incompatible library version - /path/to/home/.rvm/gems/ruby-2.3.3/gems/nokogiri-1.7.1/lib/nokogiri/nokogiri.so

313 views
Skip to first unread message

Miguel Diganchi

unread,
Mar 31, 2017, 8:30:11 AM3/31/17
to nokogiri-talk
Hello everyone! I have a question: After updated my ruby version (from 1.9.0 to 2.3.3) and all my gems. When I run 'rails server', I'm getting following error:
/path/to/home/.rvm/gems/ruby-2.3.3/gems/nokogiri-1.7.1/lib/nokogiri.rb:32:in `require': incompatible library version - /path/to/home/.rvm/gems/ruby-2.3.3/gems/nokogiri-1.7.1/lib/nokogiri/nokogiri.so (LoadError)

Does anyone know how I can solve this?

Regards!

Lars Kanis

unread,
Mar 31, 2017, 8:35:08 AM3/31/17
to nokogi...@googlegroups.com
The ruby version you installed nokogiri with is different to the ruby version you're using at runtime. Re-installation the gem with the right ruby version should help.

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-talk+unsubscribe@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at https://groups.google.com/group/nokogiri-talk.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages