我的heroku rails app上唯一没有工作的js文件是application.js
在检查推送到heroku时,我遇到了这一部分:
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: I, [2016-09-14T00:37:23.133498 #268] INFO -- : Writing /tmp/build_5aae0a7515cee878ad1672e486f7fc00/public/assets/application-118acbccb6dea8c49fd5ae3c19a2bf2e1717824c1400b9f4c9a6261d195097c1.js
remote: Asset precompilation completed (5.94s)
remote: Cleaning assets
remote: Running: rake assets:clean
remote: I, [2016-09-14T00:37:25.328060 #274] INFO -- : Removed application-bddaccef4e0926301a36a29697beb70a246688b8b43367d159738613d8a5d8ea.js
为什么要删除application.js文件?