无法在 Jruby 9.1.12.0 上安装 Watir - Windows 7

Cannot install Watir on Jruby 9.1.12.0 - Windows 7

我正在尝试将 gems 从本地 gem 存储库安装到 Jruby 9.1.12.0 中,但我卡在了 Watir 上,这几乎是我尝试的第一个。

我 运行 Windows 7 JDK 1.8.0_131

我得到以下信息:

Error installing watir:
ERROR: Failed to build gem native extension

看起来错误消息的其余部分似乎是在抱怨 ffi-1.9.18 恐怕我无法 post 确切的错误消息,因为它位于未启用 Internet 的 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

我现在开始工作了。从错误消息中可以明显看出 'Make' 没有被正确定位。我在路径中添加了正确的目录,并且 Watir 已正确安装。