Attempting to install libv8, “failed to build gem native extension”

后端 未结 3 1725
再見小時候
再見小時候 2021-02-05 19:44

I am using W7 64bit. Simply put, when I enter:

C:\\Sites>gem install libv8

I get this result:

Temporarily enhancing PATH to          


        
3条回答
  •  不要未来只要你来
    2021-02-05 20:04

    I had this problem, and @xiy above led me to the answer. Had to change

    gem 'therubyracer'
    

    to

    gem 'therubyracer', :platforms => :ruby
    

    as Windows does not need or like that gem.

提交回复
热议问题