Bundler 找不到 gem "cucumber-messages" 的兼容版本
Bundler could not find compatible versions for gem "cucumber-messages"
我正在尝试将 gem 小黄瓜从 5.1.0 更新到 9.0.0,但任何高于 5.1.0 的版本都会引发此错误
Bundler could not find compatible versions for gem "cucumber-messages":
In GemFile:
cucumber (= 4.1.0) x64-mingw32 was resolved to 4.1.0, which depends on
cucumber-messages (>= 12.2.0, ~> 12.2) x64-mingw32
gherkin (= 9.0.0) x64-mingw32 was resolved to 9.0.0, which depends on
cucumber-messages (>= 8.0.0, ~> 8.0) x64-mingw32
Process finished with exit code 6
这是我的gem文件
中的内容
gem "cucumber", "4.1.0"
gem "cucumber-messages", "12.2.0"
gem "gherkin", "9.0.0"
gem "page-object"
gem "debase"
gem "selenium-webdriver"
gem "watir"
gem "watir-dom-wait", "0.3.3"
gem "watir-scroll", "0.3.0"
gem "webdriver-user-agent"
gem "webdrivers"
gem "require_all"
gem "rspec"
gem "faker"
gem "fig_newton"
gem "pretty_face"
gem "ffi"
gem "colorize"
gem "activesupport"
gem "rake"
任何人都可以提供有关如何解决的任何帮助
谢谢
凯夫
您修复了某些版本的一些 gem,例如 cucumber 和 cucumber-messages。这可能意味着无法解决 gem 之间的依赖关系。
您可以将导致固定版本号的问题一一丢弃,直到捆绑成功。
首先删除 cucumber-messages 的版本号。
我正在尝试将 gem 小黄瓜从 5.1.0 更新到 9.0.0,但任何高于 5.1.0 的版本都会引发此错误
Bundler could not find compatible versions for gem "cucumber-messages":
In GemFile:
cucumber (= 4.1.0) x64-mingw32 was resolved to 4.1.0, which depends on
cucumber-messages (>= 12.2.0, ~> 12.2) x64-mingw32
gherkin (= 9.0.0) x64-mingw32 was resolved to 9.0.0, which depends on
cucumber-messages (>= 8.0.0, ~> 8.0) x64-mingw32
Process finished with exit code 6
这是我的gem文件
中的内容gem "cucumber", "4.1.0"
gem "cucumber-messages", "12.2.0"
gem "gherkin", "9.0.0"
gem "page-object"
gem "debase"
gem "selenium-webdriver"
gem "watir"
gem "watir-dom-wait", "0.3.3"
gem "watir-scroll", "0.3.0"
gem "webdriver-user-agent"
gem "webdrivers"
gem "require_all"
gem "rspec"
gem "faker"
gem "fig_newton"
gem "pretty_face"
gem "ffi"
gem "colorize"
gem "activesupport"
gem "rake"
任何人都可以提供有关如何解决的任何帮助
谢谢
凯夫
您修复了某些版本的一些 gem,例如 cucumber 和 cucumber-messages。这可能意味着无法解决 gem 之间的依赖关系。
您可以将导致固定版本号的问题一一丢弃,直到捆绑成功。
首先删除 cucumber-messages 的版本号。