无法加载这样的文件 - 2.2 / gherkin_lexer_en,如何解决? [英] cannot load such file -- 2.2/gherkin_lexer_en, how to fix?

查看:361
本文介绍了无法加载这样的文件 - 2.2 / gherkin_lexer_en,如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一点帮助。如何解决此问题?

I need a little help. How do I resolve this problem?

当我调用 cucumber 时,会出现以下错误:

When I call cucumber I get the following error:

  *** 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
[...]

系统:


  • Windows 8.1 x64

  • Ruby 2.2.1安装程序

我得到答案:
https://github.com/cucumber/黄瓜/问题/ 830#issuecomment-90837546


恐怕Cucumber在Windows / Ruby上需要ruby 2.0.0 x86)。
的原因是,嫩黄瓜宝石还没有编译的二进制文件
用于更新的版本或Ruby,而不是用于x64。

I'm afraid Cucumber on Windows/Ruby requires ruby 2.0.0 (x86). The reason is that the gherkin gem doesn't yet ship with compiled binaries for more recent versions or Ruby, and not for x64.

我们正在研究一个Gherkin3,将解决这个问题。看到这个
的帖子的背景。我不能给你一个ETA,但它至少有几个
个月的时间。

We're working on a Gherkin3 which will address this issue. See this post for background. I cannot give you an ETA, but it's at least a few months away.


推荐答案

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆