I have the following problem. In production some JS files do not appear, already in development they appear.
Production:
Development:
Does anyone know how to solve it?
I have the following problem. In production some JS files do not appear, already in development they appear.
Production:
Development:
Does anyone know how to solve it?
It seems like you have renamed application.js
to main.js
, correct?
If you look at the main-#{checksum}.js
file, it should contain all the files you are saying that do not "load."
Update
A guy had a provlema similar to yours here ... link
To resolve it added all the files that were supposed to be loaded into Production in Application.js, could you post yours?
Try this too:
RAILS_ENV=production bundle exec rake assets:precompile
Also check that all your assets are in the public
...
and if you do not succeed b plan here !!!
Thanks, I hope I have helped !!