How to build task 'assets:precompile'

后端 未结 5 2009
不知归路
不知归路 2020-12-25 11:00

I\'m getting that error on my production server, and can\'t figure out why. It happens when running this command:

bundle exec rake assets:precompile RAILS_EN         


        
5条回答
  •  北海茫月
    2020-12-25 11:51

    I was running this command -- out of sheer habit -- in the root of an API-only app, which, of course, has no assets.

提交回复
热议问题