WinXP已经安装了Ruby-1.9.3和Rails-3.2.7但是gem install json失败

MaxWU 发布于 2012/08/06 17:37
阅读 1K+
收藏 0
gem install json
WARNING:  Error fetching data: Errno::ETIMEDOUT: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (http://ruby.taobao.org/latest_specs.4.8.gz)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
creating Makefile
      0 [main] make 6900 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
   1117 [main] make 6900 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
MSYS-1.0.15 Build:2010-07-06 22:04
Exception: STATUS_ACCESS_VIOLATION at eip=00612840
eax=00000000 ebx=00000000 ecx=7C81D653 edx=00060001 esi=04000024 edi=00000001
ebp=0023D668 esp=0023D4D0 program=C:\Ruby193\DevKit\bin\make.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0023D668  00612840  (0023E720, 00000000, 6089E52C, 6089E52C)
0023EA88  6085BA2C  (00000000, 0023EAF0, 0A024E08, 0A024C68)
0023EAB8  6085CA36  (00000000, 00000003, 0023EAF0, 0A024E08)
0023EAD8  6080E206  (0023EAF0, 0A024E08, 0023ED3C, 00000008)
0023EF08  60882396  (0A024EB8, 0A024E08, 0041C410, 0A010178)
0023EF38  0040ECAE  (0A024E08, 0A024C68, 0A024E08, 0A024C68)
0023EFA8  0040E157  (0A024C40, 000000C8, 0023EFD8, 00404E71)
0023EFD8  0040E230  (0A024C40, 0A020990, 0A0249C0, 00000006)
0023F058  0040E5EA  (0A020990, 00000000, 00000000, 00000000)
0023F0C8  004193EA  (0A020990, 00000004, 00000000, 00000003)
0023F0E8  004189AD  (0A020990, 00000004, 0A020760, 0A020900)
0023F128  00419E28  (0A020990, 00000003, 00000001, 00000000)
0023F198  00418CE6  (0A020868, 00000002, 00000000, 00000001)
0023F1B8  004189AD  (0A020868, 00000002, 00000001, 0A020760)
0023F1F8  00419E28  (0A020868, 00000001, 00000001, 00000000)
0023F268  00418CE6  (0A01B5D8, 00000000, 00000000, 0A01B5D8)
End of stack trace (more stack frames may be present)
加载中
0
deleted
deleted
win下搞rails开发.....会痛不欲生的.......
0
MaxWU
MaxWU

 是的,我的打算是先赶紧在WinXP下实现一个原型,给合作者一个Demo... 看来很复杂.
我在Stackoverflow上搜了下,可能是Msys-1.0.dll的问题,换了几个版本的dll还是会有Dump,请问是不是和杀毒软件有关?

MaxWU
MaxWU
@$_$ 嗯,看来订制系统用RoR就比较麻烦,如果我们自己安装都很Suffering,到时候给朋友去试用估计他们装都装不上去,我打算垂死一搏试试Cygwin
deleted
deleted
看错误提示,是获取gem包失败,ruby-china反馈这两天taobao的ruby源有问题, 你改成官方的试试。 不过真心建议别在win下搞rails, 可以搞个虚拟机神马的,win下大把第三方库跑不了......
返回顶部
顶部