The problem is as following.
Error installing libv8:
ERROR: Failed to build gem native extension.
D:/Ruby193/bin/ruby.exe extconf.rb
creating Makefi
Be sure that you can actually run the "which
" command on your system. It's not native to Windows.
"which
" should be installed if you installed DevKit or RailsInstaller. However, I am running into this problem too (I also have a number of versions of python installed and working), and just discovered that my which
command under DevKit...
(and the one under RailsInstaller...) is not actually working.
The windows near equivalent is "where
". So you should run "WHERE which
" to find out if/where you have the "which" command on your system.
That doesn't make 'therubyracer' work, or issues with libv8 go away, but it is part of the puzzle.
(I've posted the problem to the msysGit folks to see what they say about the non-executing 'which' command.)
These are the following steps I have to take to get therubyracer to work on windows:
1) Install Python 2.7
2) Go here here https://github.com/eakmotion/therubyracer_for_windows and follow instructions
3) comment therubyracer gem in the Gemfile & Run Bundle install
#gem 'therubyracer'
4) Uncomment gem therubyracer in the Gemfile & Run Bundle install
gem 'therubyracer'