提问人:Baiyang Li 提问时间:10/25/2023 更新时间:10/25/2023 访问量:25
“bundle info puma”由于其他卸载的依赖项而失败
"bundle info puma" failed due to other uninstalled dependency
问:
我有一个非常基本的 rails 应用程序。
运行 and 后,我想运行 以检查 puma 是否基于 Gemfile 安装成功。但是,此命令失败,并显示错误消息 。bundle config set --local deployment true
bundle _2.4.10_ install
bundle info puma
Could not find debug-1.8.0, web-console-4.2.1, capybara-3.39.2, selenium-webdriver-4.14.0, irb-1.8.3, reline-0.3.9, bindex-0.8.1, addressable-2.8.5, matrix-0.4.2, regexp_parser-2.8.2, xpath-3.2.0, rexml-3.2.6, rubyzip-2.3.2, websocket-1.2.10, rdoc-6.5.0, io-console-0.6.0, public_suffix-5.0.3, psych-5.1.1.1, stringio-3.0.8 in locally installed gems
我更深入地查看并发现错误消息中的这些依赖项未安装,因为它们位于 Gemfile 或 Gemfile 组中,这可能是意料之中的。我可以知道为什么命令关心这些依赖关系而不仅仅是检查吗?我怎样才能运行并让它忽略这 2 组中的依赖关系?test
development
bundle info puma
puma
bundle info puma
答: 暂无答案
评论
bundle info puma