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

后端 未结 16 1203
不思量自难忘°
不思量自难忘° 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:48

    try this one:

    gem install libv8 -v '3.16.14.3' -- --with-system-v8
    

    Note : Because libv8 is the interface for the V8 engine used by therubyracer, you may need to use libv8, even if you have V8 installed already. If you wish to use your own V8 installation, rather than have it built for you, use the --with-system-v8 option.

    For more you can go through the documentation of libv8 on github

提交回复
热议问题