如何清除heroku中的Sprockets缓存?

时间:2018-07-20 15:21:55

标签: heroku

如何清除heroku中的Sprockets缓存? 我尝试了此命令。

但是我无法清除链轮缓存。

~/s/g/b/my-app ❯❯❯  (master ↩) heroku run bash
~ $ du -hd 1 tmp/cache/assets/
16M     tmp/cache/assets/sprockets
16M     tmp/cache/assets/
~ $ exit
~/s/g/b/my-app ❯❯❯  (master ↩) heroku run bash
~ $ du -hd 1 tmp/cache/assets
16M     tmp/cache/assets/sprockets
16M     tmp/cache/assets
~ $ rm -rf tmp/cache/assets/sprockets/v3.0/*
~ $ exit
~/s/g/b/my-app ❯❯❯  (master ↩) heroku run bash
~ $ du -hd 1 tmp/cache/assets/
16M     tmp/cache/assets/sprockets
16M     tmp/cache/assets/
~ $ exit
~/s/g/b/my-app ❯❯❯  (master ↩) heroku repo:purge_cache
~/s/g/b/my-app ❯❯❯  (master ↩) heroku run bash
~ $ du -hd 1 tmp/cache/assets/sprockets/
16M     tmp/cache/assets/sprockets/v3.0
16M     tmp/cache/assets/sprockets/

0 个答案:

没有答案