【发布时间】:2019-06-14 08:22:02
【问题描述】:
使用 capistrano 部署 rails app 然后出现
[deploy:migrate] Run `rake db:migrate`
00:37 deploy:migrating
01 $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate
01 config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
01
01 * development - set it to false
01 * test - set it to false (unless you use a tool that preloads your test environment)
01 * production - set it to true
01
在我的代码中已经设置为与上面相同
在 SO 中找不到有效的解决方法
【问题讨论】: