2013-04-09 81 views
1

我一直试图安装这几天没有成功。寻求帮助,我已经通过这个网站六次尝试解决问题,但我没有任何运气。问题安装caldecott,使无法运行的命令

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作为管理员
红宝石v1.9.3
的devkit - 安装,在Ruby中的文件夹,和安装后运行


更新:

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

@echo off 
mingw32-make %* 

正如在这个论坛上的解释。
- make.bat

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

回答

0

你可以尝试在安装时不platform arugment,只是此命令

$ gem install caldecott 

你现在得到了什么错误?

+0

同样不幸的是。 – 2013-04-09 18:33:01

+0

在Windows上安装本机宝石总是很痛苦。所以,也许你可以尝试在VirtualBox中启动Ubuntu 12.04。在Linux上,安装本地宝石非常容易且得到很好的支持。 – CuriousMind 2013-04-09 18:38:31

+0

我可能会尝试一段时间。我一直想建立一个新的桌面,并有Windows和Ubuntu可启动。只是没有现金来建立我想要的东西。如果我在今晚结束时没有任何结果,我想我必须得到VitrualBox。 干杯少。 – 2013-04-09 18:41:18