在Windows XP中安装黄瓜

发布于 2024-11-06 08:43:19 字数 1100 浏览 0 评论 0原文

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

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...

有人可以指导我安装吗?预先非常感谢。

I am using Rails 2.3.5, ruby version 1.8.7, rubygems version is 1.3.6 and windows operating system. I am trying to install cucumber but installation fails with make error and searched and found a solution from this website

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

But this too failed.

Error Log:

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...

Can anyone direct me to install? Thanks a lot in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

街角迷惘 2024-11-13 08:43:19

尝试在 CYGWIN 中在 Windows 上使用 Rails。

Try to work with Rails on windows in CYGWIN.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文