`gem install therubyracer` fails on Mac OS X Lion

后端 未结 11 549
再見小時候
再見小時候 2020-12-04 07:33

I would appreciate some help in getting gem install therubyracer to work. Here is the error:

$ gem install therubyracer
Building native extensio         


        
11条回答
  •  渐次进展
    2020-12-04 08:14

    If you need 0.11.3 and it's failing give this a shot for Mac OS X 10.9...

    gem uninstall libv8
    brew install v8
    gem install libv8 -- --with-system-v8
    gem install therubyracer -v '0.11.3' -- --with-system-v8
    

    See this issue for more details.

    You probably don't need the -- --with-system-v8 on the last line but I did it just to be safe since I saw it start doing Fetching: libv8-3.11.8.17-x86_64-darwin-13.gem (1%) when I ran the command...

    Anyhow, it worked for me when all the other things did not.

提交回复
热议问题