ruby-on-rails ruby 3.1.4 puma 5.6 prune_bundler loops with Early termination of worker

xn1cxnb4  于 2023-04-08  发布在  Ruby
关注(0)|答案(1)|浏览(129)

升级到ruby 3.1.4后,puma没有启动,而是循环

+ Gemfile in context: .../releases/20230405083245/Gemfile
! Unable to start worker
.../shared/bundle/ruby/3.1.0/gems/bundler-2.3.26/lib/bundler/runtime.rb:308:in `check_for_activated_spec!'
Early termination of worker

我怎样才能让彪马再跑起来?

368yc8dk

368yc8dk1#

有几种方法可以解决此问题:
1.恢复到ruby 3.1.2(缺少安全修复)
1.从配置文件(puma.rb)中删除prune_bundler
启动时,puma状态为Restarts: (√) phased,但我没有检查
1.升级puma(即6.2.1)
为了升级puma,我首先必须将capistrano-puma升级到6.0.0.beta.1。

相关问题