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

后端 未结 7 2003
梦毁少年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:49

    The simple solution was to add one simple line to my application.rb

    config.assets.initialize_on_precompile = false
    

    And everything works.

提交回复
热议问题