问题描述
当我运行 bundle install
我得到
发生错误同时安装libv8(3.11.8.17),并且Bundler无法继续。
确保`gem install libv8 -v'3.11.8.17'`捆绑成功。
Libv8依赖于 lunchy
和<$
我已经锁定在我的 Gemfile.lock
中, libv8 gem on 3.11.8.17
但是我发现我可以将它降级到 3.3 .10.4
如何做那么我还发现了 3.11.8.17
gem,但不知道如何在我的系统上实现它。
您可以在小牛身上安装该版本:
gem install libv8 -v 3.11.8.17 - --with-system-v8
我可以证实这适用于rbenv和ruby 1.9.3p448
在这里看到类似的线程
When I run bundle install
I get
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.
Libv8 is dependency for lunchy
and therubyracer
gems.
I have locked in my Gemfile.lock
libv8 gem on 3.11.8.17
But I found that I can downgrade it to 3.3.10.4
bundle install / update: libv8 (therubyracer) installation fails (with native extensions)
How to do that?
I also found working 3.11.8.17
gem but don't know how to implement it on my system.https://github.com/cowboyd/libv8/issues/107#issuecomment-26146673
You can actually install that version on Mavericks:
gem install libv8 -v 3.11.8.17 -- --with-system-v8
I can confirm this works with rbenv and ruby 1.9.3p448
See a similar thread here Installing libv8 gem on OS X 10.9+
这篇关于如何修复小牛的Gemfile的libv8错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!