pg.rb segmentation fault [Mojave upgrade]

后端 未结 3 1099
余生分开走
余生分开走 2021-02-15 10:19

Segmentation fault in pg.rb:56

versions: rails: 5.2.0, ruby: 2.4.4, pg gem: 0.20.0

After upgrading to Mac OS mojave i have encountered problems with my local hos

3条回答
  •  既然无缘
    2021-02-15 11:10

    As this issue is only occuring in the development environment, I made it conditional. This solution in puma.rb works for me until the bug gets fixed.

    workers ENV.fetch("WEB_CONCURRENCY") { 2 } unless Rails.env.development?

提交回复
热议问题