Installing libv8 gem on OS X 10.9+

后端 未结 20 1004
旧时难觅i
旧时难觅i 2020-11-29 14:41

I\'m trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125.

This is the output of running the command \

20条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 15:15

    My issue is since therubyracer, when update to macOS 10.15 and ruby-2.6.5

    And the following works for me:

    brew install v8@3.15
    
    gem install libv8 -v 3.16.14.19 -- --with-system-v8
    
    gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8@3.15
    

提交回复
热议问题