我需要一点帮助。我该如何解决这个问题?
当我打电话时cucumber
出现以下错误:
*** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansic
on/) to get coloured output on Windows
WARNING: cannot load such file -- 2.2/gherkin_lexer_en
Couldn't load 2.2/gherkin_lexer_en
The $LOAD_PATH was:
lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/cucumber-1.3.19/bin/../lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/diff-lcs-1.2.5/lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/multi_json-1.11.0/lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/gherkin-2.12.2-x86-mingw32/lib
[...]
系统:
我得到了答案:https : //github.com/cucumber/cucumber/issues/830#issuecomment-90837546
恐怕Windows / Ruby上的Cucumber需要ruby 2.0.0(x86)。原因是小黄瓜gem尚未针对较新版本或Ruby附带编译二进制文件,而不是x64。
我们正在开发一个Gherkin3,它将解决此问题。见这篇文章的背景。我无法给您提供预计到达时间,但至少还有几个月的时间。
gem install calabash-android
ERROR: Error installing calabash-android: The 'json' native gem requires installed build tools.
gem install calabash-android
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句