I updated my Ruby from 1.9.3 to 2.3.0. Now i try to make bundle install, but the gem "Therubyracer" make an error.
Error :
C:\SVN\FOS\branches\FOS_5_0>gem install therubyracer
Fetching: libv8-3.16.14.15.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8
C:/Ruby23/bin/ruby.exe -r ./siteconf20160606-1212-1uwfv1y.rb extconf.rb
creating Makefile
Der Befehl "patch" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/patcher.rb:15:in `block (2 levels) in patch!': failed to apply patch C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/patches/disable-building-tests.patch (RuntimeError)
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/patcher.rb:12:in `each'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/patcher.rb:12:in `block in patch!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/patcher.rb:8:in `open'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/patcher.rb:8:in `patch!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/builder.rb:57:in `block in build_libv8!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/builder.rb:54:in `chdir'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/builder.rb:54:in `build_libv8!'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/ext/libv8/location.rb:24:in `install!'
from extconf.rb:7:in `<main>'
Applying C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15/patches/disable-building-tests.patch
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby23/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.15 for inspection.
Results logged to C:/Ruby23/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/libv8-3.16.14.15/gem_make.out
How can i fix this problem, because the server wants this gem for start?
Aucun commentaire:
Enregistrer un commentaire