Error due to "Incompatible library version [...] nokogiri-1.7.2"

Added by Alvaro Combo about 2 years ago


I'm not an expert on either Linux or Redmine, but I'm trying to install the later in an Ubuntu 16.04 machine with Apache (and Phusion) and MySql and I'm getting a (VERY) Hard time.

I have reached to a point where I encounter the error (full console: [[]]):
redmine@atena:/var/www/html/redmine$ bundle exec rake generate_secret_token
rake aborted!
LoadError: incompatible library version - /opt/redmine/redmine-3.4.3/gems/nokogiri-1.7.2/lib/nokogiri/

Unfortunatly I have not the expertise to properly indentify the problem... and could not find a solution.
In this Forum, there are two issues that "resembles" this one (and I think they are related):
  1. [[]] : Unfortunately with NO answers.
  2. [[]] : The answer refers an incompatibility with Ruby 2.3... but on [[]] it is stated that Ruby 2.3 IS Compatible!

I'm using in fact ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] (see also gems in: [[]])... but is this the cause?

Can you please give me any idea on how to proceed?

Thank you very much for your help.