Ruby 发布安装caldecott,发出不可操作命令
我已经尝试安装了几天了,但是没有成功。为了寻求帮助,我已经在这个网站上浏览了六次,试图解决这个问题,但我没有任何运气Ruby 发布安装caldecott,发出不可操作命令,ruby,database,windows-7,gem,devkit,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
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
我试着按照这篇文章的说明去做
-
通过这样做:
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
正如这里所讨论的。
-
暂停!!!我做错了什么
视窗7
以管理员身份运行CMD
Ruby v1.9.3
DevKit-已安装,在Ruby文件夹中,并已运行postinstall
更新:
我已尝试在c:/ruby193/devkit/mingw/bin中创建自己的match.bat文件,该文件应将make命令转发给mingw32 make,但仍然成功,但下面是批处理match.bat文件的代码
@echo off
mingw32-make %*
正如在这个论坛上所解释的那样。
-
还是不走运,我可能会继续在键盘上翻滚,直到找到解决方案。您可以尝试在没有平台修补的情况下安装,只需此命令吗
$ gem install caldecott
您现在遇到了什么错误?在windows上安装本机gems总是一件痛苦的事。所以,也许你可以尝试在VirtualBox中启动Ubuntu12.04。在Linux上,安装本机gems非常简单,而且支持良好。我可能会尝试一下。我一直想建立一个新的桌面,让Windows和Ubuntu可以启动。只是没有足够的现金来建造我想要的东西。如果今晚结束前我没有任何结果,我想我将不得不把结果交给维特鲁阿尔博克斯。尽管如此,还是欢呼。