Fix therubyracer/libv8 (0.12.1) installation on Mavericks

前端 未结 7 559
情书的邮戳
情书的邮戳 2021-02-05 05:17

OK, I’m at the end of my tether with this. There are a few similar questions but they all refer to therubyracer 0.10, and they mostly conclude that the problem can be fixed by u

7条回答
  •  时光说笑
    2021-02-05 05:39

    It could be that rubygems is fetching the wrong binaries for your system.

    Diagnosis:

    • Compare the output of gem env platform to 'Kernel Version' under  > About This Mac > System Report > Software
    • If those don't match (e.g. Kernel Version: 14.4.0 and x86_64-darwin-12) then RubyGems is grabbing the wrong version of therubyracer and libv8 for your system

    Fix:

    • short-term: bundle update therubyracer --platform=x86_64-darwin-14

提交回复
热议问题