libv8 (3.11.8.17) bundle install error on Mac

前端 未结 6 1161
旧时难觅i
旧时难觅i 2021-02-05 08:42

I upgraded ruby to 1.9.3, and now I can\'t get my server to start. When I run bundle install, it says

An error occurred while installing libv8 (3.11.8.17), and          


        
6条回答
  •  时光说笑
    2021-02-05 09:03

    I had this same problem when I upgraded from OSX Mountain Lion to OSX Mavericks.

    Upgrading from ruby-1.8.7-p354 to ruby-1.8.7-375 did the trick for me.

    libv8 (3.16.14.3-x86_64-darwin-13) and the therubyracer (0.12.0) gems installed without problem.

    assuming you use rbenv:

    rbenv versions
      system
      * 1.8.7-p354
      2.0.0-rc2
    
    rbenv uninstall 1.8.7-p354
    rbenv install 1.8.7-p375
    
    rbenv versions
      system
      * 1.8.7-p375
      2.0.0-rc2
    
    bundle install
    

提交回复
热议问题