当我运行 bundle install 我有这个错误:
安装 libv8 (3.16.14.3) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension 。
C:/RailsInstaller/Ruby2.0.0/bin/ruby.exe extconf.rb
创建 Makefile Le chemin d'accès spécifié est introuvable。Le chemin d'accès spécifié est introuvable。Le chemin d'accès spécifié est introuvable。C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/b uilder.rb:58:in setup_python!': libv8 requires python 2 to be installed in orde
r to build, but it is currently not available (RuntimeError)
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.
3/ext/libv8/builder.rb:42:in
block in build_libv8!' 来自 C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.16.14。3/ext/libv8/builder.rb:40:in chdir'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.
3/ext/libv8/builder.rb:40:in
build_libv8!' 来自 C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.16.14。3/ext/libv8/location.rb:24:in install!'
from extconf.rb:7:in
'
Gem 文件将继续安装在 C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0 .0/gems/libv8-3.16.14.3 以供检查。结果记录到 C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/libv8-3.1 6.14.3/ext/libv8/gem_make.out 安装 libv8 (3.16.14.3) 时出错,并且 Bundler 无法继续。gem install libv8 -v '3.16.14.3'
在捆绑之前确保成功。