bundle exec rake assets:precompile - database configuration does not specify adapter

后端 未结 7 2022
梦毁少年i
梦毁少年i 2020-12-16 18:54

After 24 hours of trying to find the problem with my app. I finally found the problem.

I ran

rake assets:precompile RAILS_ENV=production

7条回答
  •  心在旅途
    2020-12-16 19:43

    This should work: rake assets:precompile RAILS_ENV=development

    It tries to load up your production environment, when your database.yml doesn't include it.

提交回复
热议问题