问题安装caldecott,使命令无法运行

时间:2013-04-09 16:35:49

标签: ruby database windows-7 gem devkit

我一直试图安装这几天,但没有成功。寻求帮助,我已经通过这个网站六次尝试解决问题,但我没有运气。

c:\Ruby193\DevKit>gem install caldecott --platform=ruby
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
    ERROR:  Error installing caldecott:
    ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe extconf.rb
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:/Ruby193/lib/ruby/gems/1.9.1/gems/escape_ut
ils-0.3.2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/escape_utils-0.3.2/ext/esc
ape_utils/gem_make.out

我试图按照这篇文章的说明进行操作 - Make Is Not Recognized as an internal or exernal command

通过这样做:

c:\Ruby193>set make=mingw32-make

我很遗憾地得到:

c:\Ruby193>gem install caldecott --platform=ruby
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
    ERROR:  Error installing caldecott:
    ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile

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


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/escape_ut
ils-0.3.2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/escape_utils-0.3.2/ext/esc
ape_utils/gem_make.out

我也做过:

c:\Ruby193\DevKit>gem install eventmachine --pre

正如这里所讨论的那样 - Error Installing Caldecott

HALP !!!我做错了什么?

Windows 7
以管理员身份运行CMD Ruby v1.9.3
DevKit - 在Ruby文件夹中安装,并在postinstall上运行


更新

我试图在c:/ ruby​​193 / devkit / mingw / bin中创建我自己的match.bat文件,它应该将make命令转发到mingw32-make,仍然成功,但这里是我的批处理代码(匹配) .bat)文件。

@echo off
mingw32-make %*

正如本论坛所解释的那样 - make.bat

仍然没有运气,我可能会继续在键盘上翻脸,直到找到解决方案。

1 个答案:

答案 0 :(得分:0)

您可以尝试在没有platform参数的情况下安装,只需使用此命令

$ gem install caldecott

你现在得到了什么错误?