我正在按照一本书在我的 Windows 8 机器上安装 cucumber,但我遇到了一个错误。
到目前为止,我采取的步骤是:
- 使用 Ruby Installer 安装 Ruby
- 已安装 Ruby Installer 开发工具包
- 安装 ANSICON
- 已安装的捆绑器
我在安装 Cucumber 本身时遇到问题。这是控制台输出:
C:\>gem install cucumber
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: diff-lcs-1.2.4.gem (100%)
Successfully installed diff-lcs-1.2.4
Fetching: multi_json-1.7.6.gem (100%)
Successfully installed multi_json-1.7.6
Fetching: gherkin-2.12.0.gem (100%)
ERROR: Error installing cucumber:
The 'gherkin' 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'
我是 Cucumber 的新手,没有红宝石经验。帮助将不胜感激。