libv8 (3.11.8.17) bundle install error on Mac

前端 未结 6 1162
旧时难觅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 08:59

    This simple solution worked for me:

    $ gem uninstall libv8 # select "All Versions" if prompted
    $ gem install libv8
    
    0 讨论(0)
  • 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
    
    0 讨论(0)
  • 2021-02-05 09:10

    Try reinstalling v8 in homebrew:

    gem uninstall libv8
    brew install v8
    gem install libv8
    
    0 讨论(0)
  • 2021-02-05 09:10

    Do:

    gem install rmagick -v '2.13.2'
    gem install libv8 -v 3.11.8.17 -- --with-system-v8
    
    0 讨论(0)
  • 2021-02-05 09:11

    I resolved this issue by using the following command:

    gem install libv8 -v 3.11.8.17 -- --with-system-v8

    It works with RVM on Mavericks.

    https://stackoverflow.com/a/19667419/763744

    0 讨论(0)
  • 2021-02-05 09:16

    I encountered this problem a few times already, first thing I'd try is to (re)install command line tools. Normally should work.

    Another attempt that succeeded once was uninstalling libv8, and then installing it again. It takes ages...

    0 讨论(0)
提交回复
热议问题