简体   繁体   English

LoadError:无法在运行命令rackup,ruby版本2.2.0和黄瓜2.1.0上加载此类文件— gherkin / formatter / json_formatter

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

相关问题 在RubyMine中运行规范会导致“无法加载此类文件 - teamcity / spec / runner / formatter / teamcity / formatter(LoadError)” - Running a spec in RubyMine results in “cannot load such file — teamcity/spec/runner/formatter/teamcity/formatter (LoadError)” RSpec:无法加载此类文件 - teamcity / spec / runner / formatter / teamcity / formatter(LoadError) - RSpec: cannot load such file — teamcity/spec/runner/formatter/teamcity/formatter (LoadError) 运行rackup private_pub.ru -s thin -E生产命令时无法加载此类文件 - 瘦(LoadError) - cannot load such file — thin (LoadError) while running rackup private_pub.ru -s thin -E production command 升级Cucumber 2.4-> 4.0失败:无法加载此类文件-Cucumber / Core / Gerkin / tag_expression(LoadError) - Upgrade Cucumber 2.4 -> 4.0 failed: cannot load such file — cucumber/core/gherkin/tag_expression (LoadError) `require':无法加载此类文件-rspec / core / formatters / base_formatter(LoadError) - `require': cannot load such file — rspec/core/formatters/base_formatter (LoadError) Cucumber JSON Formatter for Ruby 2.6 - 如何从消息转换为 json - Cucumber JSON Formatter for Ruby 2.6 - how to convert from message to json Chef:无法加载此类文件-rubocop / formatter / checkstyle_formatter - Chef: cannot load such file — rubocop/formatter/checkstyle_formatter ruby LoadError:无法加载此类文件 - ruby LoadError: cannot load such file Ruby LoadError 无法加载此类文件 - Ruby LoadError cannot load such file Ruby-无法加载文件(LoadError) - Ruby - Cannot Load File (LoadError)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM