Error installing libv8: ERROR: Failed to build gem native extension

后端 未结 16 1277
不思量自难忘°
不思量自难忘° 2020-11-27 09:21

I made a rails project with,

rails new test_bootstrap.

succeeded.

moved to the project dir and added the gems

gem \         


        
16条回答
  •  甜味超标
    2020-11-27 09:51

    I tried the solution listed above command which looks very fine for installing individual gem, but for bundler users - you should use bundle config

    Use

    bundle config build.libv8 --with-system-v8 
    

    and

    bundle config build.therubyracer --with-system-v8
    

    to configure bundler to take the parameters to be used while installing specific gem

提交回复
热议问题