therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension

前端 未结 14 1789
抹茶落季
抹茶落季 2020-12-07 11:09

I\'m trying to install the following gem versions on Mavericks

  • libv8 (3.16.14.3)
  • therubyracer (0.12.1)

Obviously therubyracer gems depe

14条回答
  •  执念已碎
    2020-12-07 11:30

    I couldn't get therubyracer to build on macOS Catalina 10.15 due to the libv8 dependency, despite installing the x64 (64-bit variant) of libv8.

    The solution for me, was to switch from therubyracer to mini_racer, the mini_racer gem installed (without needing to build locally) and, hey presto! I could continue.

    Try it!

提交回复
热议问题