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

前端 未结 14 1766
抹茶落季
抹茶落季 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:37

    I found a workaround to the above problem.

    This is more of a compatibility among libv8 and therubyracer.

    gem install libv8 -v '3.3.10.4' -- --with-system-v8
    
    gem install therubyracer -v '0.10.2'
    

    This should work fine as both the versions are compatible with me. Initially I was trying to install the version 0.12.0 for therubyracer and was facing the issue. Once I switched to version 0.10.2, everything worked fine.

    My current OS: Mavericks

提交回复
热议问题