1 個回答
- 最新
- 最多得票
- 最多評論
0
【以下的回答经过翻译处理】 问题解决了!
在我的例子中,问题是一个已经悄悄更新的 puma 依赖项。
我通过 ssm 进入机器,执行“pumactl start”并收到错误消息:
/opt/rubies/ruby-2.7.1/lib/ruby/site_ruby/2.7.0/bundler/runtime.rb:312:in check_for_activated_spec!': You have already activated nio4r 2.5.2, but your Gemfile requires nio4r 2.5.4. Prepending bundle exec` to your command may solve this. (Gem::LoadError)
然后我仔细检查了拉取请求并注意到 gem nio4r 已更新。
解决方案是在 Gemfile 中将 nio4r 强制为 2.5.2。
希望它也适合你。
相關內容
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 9 個月前