在Windows XP中安装黄瓜
我使用的是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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在 CYGWIN 中在 Windows 上使用 Rails。
Try to work with Rails on windows in CYGWIN.