次のコマンドを使用して libv8 v3.16.14.3 をインストールしてみました
gem install libv8 -v '3.16.14.3'
次の出力が得られました。
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing libv8:
ERROR: Failed to build gem native extension.
C:/software/ruby-1.9.3/bin/ruby.exe extconf.rb
creating Makefile
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/builder.rb:58:in `setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently not available (RuntimeError)
from C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/builder.rb:42:in `block in build_libv8!'
from C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/builder.rb:40:in `chdir'
from C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/builder.rb:40:in `build_libv8!'
from C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/location.rb:24:in `install!'
from extconf.rb:7:in `<main>'
Gem files will remain installed in C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3 for inspection.
Results logged to C:/software/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/libv8-3.16.14.3/ext/libv8/gem_make.out
この問題を解決する方法がわかりません。
誰かがここで私を助けてくれませんか。