Could somebody explain to me what the command rake assets:clean
really does? Unfortunately the Rails Guides dont mention it. There is also the command rake assets:cleanup
. Whats the difference?
Furthermore could somebody tell me when do I have to run rake assets:precompile
in production. Do I run it on the server console after I deployed all my application files to my production server? Or do I precompile
on my local machine and then do a deploy of all files?
Thanks all