tom*_*nek 16 ruby gem bundle ruby-on-rails osx-mavericks
当我跑步时,bundle install我得到了
An error occurred while installing libv8 (3.11.8.17), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.11.8.17'` succeeds before bundling.
Run Code Online (Sandbox Code Playgroud)
Libv8是依赖lunchy和therubyracer宝石.
我锁定了我的Gemfile.locklibv8 gem3.11.8.17
但我发现我可以将它降级为 3.3.10.4
bundle install/update:libv8(therubyracer)安装失败(带有本机扩展)
怎么做?
我也找到了工作3.11.8.17宝石,但不知道如何在我的系统上实现它.
https://github.com/cowboyd/libv8/issues/107#issuecomment-26146673
Oli*_*haw 31
您可以在Mavericks上实际安装该版本:
gem install libv8 -v 3.11.8.17 -- --with-system-v8
Run Code Online (Sandbox Code Playgroud)
我可以确认这适用于rbenv和ruby 1.9.3p448
在这里查看类似的线程在OS X 10.9+上安装libv8 gem
rde*_*an1 14
您需要重新安装libv8
$ gem uninstall libv8
$ brew install v8
$ gem install therubyracer
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11349 次 |
| 最近记录: |