1 Answer
- Newest
- Most votes
- Most comments
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。
希望它也适合你。
Relevant content
- asked 10 months ago
- asked a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a month ago