1

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

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

正如这里所讨论的。
-安装 Caldecott 时出错

哈普!!!我究竟做错了什么?

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


更新:

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

@echo off
mingw32-make %*

如本论坛所述。
-制作.bat

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

4

1 回答 1

0

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

$ gem install caldecott

你现在得到什么错误?

于 2013-04-09T18:18:30.640 回答