Gem::Ext::BuildError: ERROR: Failed to build gem native extension. on CenOS 6.5

前端 未结 4 845
南方客
南方客 2021-01-20 12:29

Installing Redmine. I\'ve tried,

bundle install --without development test postgresql sqlite

, but error.

Gem::Ext::BuildError: ERR

4条回答
  •  旧时难觅i
    2021-01-20 13:21

    I had the same issue right now. To solve it install the latest version of bundler and rmagick manually using gem install update all other packages with gem update and bundle update. This solved this dependency issue of json 1.8.3 and ruby 2.4.

    But I run in some more problems afterwords. It seams like ruby 2.4 does some changes in the interpretation of number which means it is not compatible with rail 4.x anymore (see this post). Updating rails and its dependencies seems to be not possibles yet as redmine needs protected_attributes which depends on activemodel (< 5.0, >= 4.0.1) and rails 5.x depends on activemodel 5.x.

    It is always bad if an update breaks backward compatibility especially for programming language :(

提交回复
热议问题