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

前端 未结 4 835
南方客
南方客 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:09

    Ruby 2.4 is very new. In fact, it was released only 3 days ago.

    Since there are several impirtant internal changes in Ruby 2.4, it is quite likely that many gems (and Redmine itself) are not yet compatible with this version of Ruby.

    From your error message, it does indeed seem that the JSON gem needs to be adapted in order to handle some changes in Ruby 2.4 regarding whole numbers.

    You should use an older version of Ruby for now, e.g. Ruby 2.3.3. As you can see on http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Ruby-interpreter, Redmine requires specific Ruby versions depending on the version of Redmine.

提交回复
热议问题