Confusion about rake assets:clean / cleanup on the asset pipeline in rails

前端 未结 6 1239
忘了有多久
忘了有多久 2020-12-12 20:29

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

6条回答
  •  自闭症患者
    2020-12-12 20:59

    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:clean removes old releases, generally from a remote server. It is not rake assets:clean

    rake != cap

提交回复
热议问题