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 rak
rake assets:clean
rak
rake assets:clean removes compiled assets. It is run by cap deploy:assets:clean to remove compiled assets, generally from a remote server.
cap deploy:assets:clean
cap deploy:clean removes old releases, generally from a remote server. It is not rake assets:clean
cap deploy:clean
rake != cap