gem install libv8 --version '3.11.8.17' on ruby (windows)

后端 未结 8 1357
攒了一身酷
攒了一身酷 2020-11-28 22:39

The problem is as following.

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

    D:/Ruby193/bin/ruby.exe extconf.rb
    creating Makefi         


        
8条回答
  •  悲&欢浪女
    2020-11-28 22:56

    I could be reading this wrong, but I think the problem is this line:

    unless system 'which python2 2>&1 > /dev/null'
    

    It's looking for python2 when in fact the command for python is simply python.

    Perhaps try aliasing python to python2.

提交回复
热议问题