在Windows XP中安装黄瓜

时间:2011-05-11 07:05:39

标签: ruby-on-rails cucumber

我使用的是Rails 2.3.5,ruby版本1.8.7,rubygems版本是1.3.6和windows操作系统。我正在尝试安装黄瓜但安装失败并出现make错误并搜索并从此网站找到解决方案

http://mikewagg.blogspot.com/2009/06/installing-cucumber-on-windows.html

但这也失败了。

错误日志:

Building native extensions.  This could take a while...
ERROR:  Error installing cucumber:
    ERROR: Failed to build gem native extension.

C:/Ruby/bin/ruby.exe extconf.rb
checking for re.h... no 
creating Makefile

make
'make' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/json-1.5.1 for inspection.
Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out

Successfully installed win32console-1.3.0-x86-mingw32

1 gem installed

Installing ri documentation for win32console-1.3.0-x86-mingw32...

Installing RDoc documentation for win32console-1.3.0-x86-mingw32...

有人可以指示我安装吗?非常感谢。

1 个答案:

答案 0 :(得分:0)

尝试在CYGWIN的Windows上使用Rails。