简体   繁体   English

在Windows上安装calabash android时出错

[英]error installing calabash android on windows

i'm trying to install calabash by running this command: 我正在尝试通过运行以下命令来安装calabash:

gem install calabash-android

i'm still getting this error: 我仍然收到此错误:

Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: diff-lcs-1.2.5.gem (100%)
Successfully installed diff-lcs-1.2.5
Fetching: multi_json-1.11.2.gem (100%)
Successfully installed multi_json-1.11.2
Fetching: gherkin-2.12.2-x86-mingw32.gem (100%)
Successfully installed gherkin-2.12.2-x86-mingw32
Fetching: multi_test-0.1.2.gem (100%)
Successfully installed multi_test-0.1.2
Fetching: cucumber-1.3.20.gem (100%)
Successfully installed cucumber-1.3.20
Fetching: json-1.8.3.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
creating Makefile
      0 [main] make 4044 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  73797 [main] make 4044 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
MSYS-1.0.17 Build:2011-04-24 23:39
Exception: STATUS_ACCESS_VIOLATION at eip=10002840
eax=00000000 ebx=00000000 ecx=7554CDF7 edx=001A0000 esi=00000024 edi=00000001
ebp=0028D5F8 esp=0028D460 program=C:\Ruby200\DevKit\bin\make.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028D5F8  10002840  (0028E6B0, 00000000, 6089E54C, 6089E54C)
0028EA18  6085BDBC  (00000000, 0028EA80, 10075700, 10075560)
0028EA48  6085CDB6  (00000000, 00000003, 0028EA80, 10075700)
0028EA68  6080E236  (0028EA80, 10075700, 00000000, 00000000)
0028EE98  60882726  (100757B0, 10075700, 0041C410, 10060178)
0028EEC8  0040ECAE  (10075700, 10075560, 10075700, 10075560)
0028EF38  0040E157  (10075538, 000000C8, 0028EF68, 00404E71)
0028EF68  0040E230  (10075538, 10071200, 10074F80, 00000006)
0028EFE8  0040E5EA  (10071200, 00000000, 00000000, 00000000)
0028F058  004193EA  (10071200, 00000004, 00000000, 00000003)
0028F078  004189AD  (10071200, 00000004, 10070FE0, 10071180)
0028F0B8  00419E28  (10071200, 00000003, 00000001, 00000000)
0028F128  00418CE6  (100710E8, 00000002, 00000000, 00000001)
0028F148  004189AD  (100710E8, 00000002, 00000011, 10070FE0)
0028F188  00419E28  (100710E8, 00000001, 00000001, 00000000)
0028F1F8  00418CE6  (1006CFD8, 00000000, 00000000, 1006CFD8)
End of stack trace (more stack frames may be present)

any idea what i'm still doing wrong? 知道我还在做什么吗?

Do you have any non-ascii characters in your %PATH% or %TEMP% system variables? %PATH%或%TEMP%系统变量中是否有任何非ASCII字符? Correct this and try once more. 更正此问题,然后再试一次。

Or you can try to install gem with --platform=ruby parameter. 或者,您可以尝试使用--platform = ruby​​参数安装gem。 And one more variant - install json-pure, to avoid compiling. 还有另一个变体-安装json-pure,以避免编译。

(usually installing devkit finishes with installing json - try once more time) (通常,在安装devkit时会先安装json,然后再试一次)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM