【问题标题】:Issue installing caldecott, make inoperable command安装 caldecott 时出现问题,使命令无法运行
【发布时间】:2013-04-09 16:35:48
【问题描述】:

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

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

哈哈!!!我做错了什么?

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


更新:

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

@echo off
mingw32-make %*

如本论坛所述。
-make.bat

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

【问题讨论】:

    标签: ruby database windows-7 gem devkit


    【解决方案1】:

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

    $ gem install caldecott
    

    你现在遇到什么错误?

    【讨论】:

    • 在 Windows 上安装原生 gem 总是很痛苦。所以,也许你可以尝试在 VirtualBox 中启动 Ubuntu 12.04。在 Linux 上,安装本机 gem 非常简单且得到很好的支持。
    • 我可能会尝试一段时间。我一直想构建一个新桌面并让 Windows 和 Ubuntu 可启动。只是没有钱来建造我想要的东西。如果今晚结束前我没有任何结果,我想我将不得不向 VitrualBox 出结果。欢呼不止。
    猜你喜欢
    • 2015-05-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-19
    • 2017-07-09
    • 1970-01-01
    • 2011-10-28
    相关资源
    最近更新 更多