Clearing Memcached at Capistrano Deployment

It’s a two step process:

  1. Create a rake task (in lib/tasks/clear_memcached.rake for example):
  1. In deploy.rb add the following:

and (depending on your task chain):

Hope it helps.

Posted: 12 July 2010

comments powered by Disqus