我正在尝试通过 Ruby gem 安装防护。即使我尝试通过引用此链接安装以前的版本,我也收到以下错误。
C:\>gem install guard
Fetching: thor-0.18.1.gem (100%)
Successfully installed thor-0.18.1
Fetching: timers-1.1.0.gem (100%)
Successfully installed timers-1.1.0
Fetching: celluloid-0.15.2.gem (100%)
Successfully installed celluloid-0.15.2
Fetching: rb-fsevent-0.9.3.gem (100%)
Successfully installed rb-fsevent-0.9.3
Fetching: ffi-1.9.3.gem (100%)
ERROR: Error installing guard:
The 'ffi' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
C:\>gem install ffi --version='1.0.9'
Fetching: ffi-1.0.9.gem (100%)
ERROR: Error installing ffi:
The 'ffi' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'