Search code examples
memcachedcapistrano

How can I clear memcache using capistrano?


I use capistrano to deploy my app to a machine that uses memcache. I want capistrano to clear memcache when it deploys a new version of the site.


Solution

  • Take a look at this GIST solves the problem: https://gist.github.com/matthuhiggins/668744