最近要用到导入联系人的功能.但是gem install contacts却报错.

错误如下:

Building native extensions.  This could take a while...
ERROR:  Error installing contacts:
        ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install contacts
creating Makefile

nmake
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。


Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.2 for
 inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.2/ext/json/ext/parser/
gem_make.out



想请教为什么会有这样的错误,应该如何解决.谢谢
评论
yawl 2008-04-25
还需要visual studio编译器。

你最好问一下这个gem是否支持windows. 遇到这种情况的有时候是还支持windows.
发表评论

提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则

您还没有登录,请登录后发表评论

stillwyw
搜索本博客
博客分类
最近加入圈子
最新评论