pg.rb segmentation fault [Mojave upgrade]
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?
in .env file set
WEB_CONCURRENCY=0
and you do not need to add any logic in config/puma.rb