[英]fatal error while bundle install (while installing libv8)
I work on windows7 (32-bit) and I get error that while bundle install; 我在windows7(32位)上工作,我在安装捆绑时遇到错误;
Installing libv8 (3.3.10.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
C:/Ruby192/bin/ruby.exe extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby192/bin/ruby
Checking for Python... Unable to build libv8: Python not found!
So I can't complete "bundle install". 所以我无法完成“捆绑安装”。
Install ActivePython version 2.7.2.5, then run: 安装ActivePython版本2.7.2.5,然后运行:
gem install libv8 --version 3.11.8.0
to install the libv8 in Windows, the latest version 3.11.8.3 can not work in windows, but 3.11.8.0 can in Windows 7. 要在Windows中安装libv8,最新版本3.11.8.3无法在Windows中运行,但3.11.8.0可以在Windows 7中运行。
在Windows 7上,我用ruby193安装了python27,我在PATH变量中添加了python的文件夹,我在控制台中编写了gem install libv8,并成功安装了libv8
您需要安装python,因为libv8似乎依赖于Python,您可以在项目统计中看到
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.