开发安装出现NoMethodError

我更详细地分析了标准安装,发现 docker 镜像启动器使用 bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb 来启动 unicorn。我改用了 RAILS_ENV=production bin/unicorn。我猜我错过了运行配置。问题解决了。

1 个赞