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

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

Installing Redmine. I\'ve tried,

bundle install --without development test postgresql sqlite

, but error.

Gem::Ext::BuildError: ERR

4条回答
  •  难免孤独
    2021-01-20 13:12

    it seems that the json gem is having a bug with newer ruby version (2.4+), that answer from makandracards is proposing a simple and easy solution.

    the answer is about updating the version of json gem to tackle the bug and successfully install the gem. so, it updates the json gem with --conservative option.

    bundle update json --conservative

提交回复
热议问题