[英]LoadError: cannot load such file — gherkin/formatter/json_formatter , on running command rackup ,ruby version 2.2.0 and cucumber 2.1.0
I am getting LoadError: cannot load such file -- gherkin/formatter/json_formatter , on running command rackup , 我收到LoadError:无法在运行命令rackup上加载此类文件-gherkin / formatter / json_formatter,
ruby version 2.2.0 红宝石版本2.2.0
cucumber 2.1.0 os :ubuntu 15.4 黄瓜2.1.0操作系统:ubuntu 15.4
this error is coming since you are using the newer version of gherkin gem where path for the gherkin formatter is changed . 由于您使用的是更新版本的小黄瓜gem,其中小黄瓜格式化程序的路径已更改,因此将出现此错误。 ,please install the compatible gherkin version as required in your app.
,请根据您的应用要求安装兼容的小黄瓜版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.