JS files double-included in rails app

孤街醉人 提交于 2019-12-05 01:38:31

It sounds as if you may have precompiled your assets at some point. Check the contents of the application.js file that's being served in development. My guess is you'll see the bundled contents of all your other required files. To fix this, just delete /public/assets/javascripts/application.js and bounce your server.

If that doesn't work, figure out where the second copy is coming from (using Firebug or similar to examine served files) and post an update and I'll see what I can do.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!