1
ローカルのgemリポジトリからJruby 9.1.12.0に宝石をインストールしようとしていますが、Watirに悩まされています。WatirをJruby 9.1.12.0にインストールできない - Windows 7
私は次の取得JDK 1.8.0_131
でWindows 7上で実行しています:
Error installing watir:
ERROR: Failed to build gem native extension
エラーメッセージの残りの部分はFFI-1.9.18 I文句を言っているかのように見えます私は、インターネットに対応していないVMの内部にあるので、正確なエラーメッセージを投稿することはできません。
更新:完全なエラーメッセージ:
C:\Ruby\gem>jruby -S gem install watir
Building native extensions. This could take a while...
C:/jruby-9.1.12.0/lib/ruby/stdlib/rubygems/ext/ext_conf_builder.rb:58: warning: Tempfile#unlink or delete called on open file
; ignoring
ERROR: Error installing watir:
ERROR: Failed to build gem native extension.
current directory: C:/jruby-9.1.12.0/lib/ruby/gems/shared/gems/ffi-1.9.18/ext/ffi_c
C:/jruby-9.1.12.0/bin/jruby.exe -r ./siteconf20170718-2540-6mqxiv.rb extconf.rb
current directory: C:/jruby-9.1.12.0/lib/ruby/gems/shared/gems/ffi-1.9.18/ext/ffi_c
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.
current directory: C:/jruby-9.1.12.0/lib/ruby/gems/shared/gems/ffi-1.9.18/ext/ffi_c
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.
make failed, exit code 1
Gem files will remain installed in C:/jruby-9.1.12.0/lib/ruby/gems/shared/gems/ffi-1.9.18 for inspection.
Results logged to C:/jruby-9.1.12.0/lib/ruby/gems/shared/extensions/universal- java-1.8/2.3.0/ffi-1.9.18/gem_make.out
自己回答の最初の試みは良いです! – GhostCat