Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 454
MikeN Avatar asked Mar 13 '09 16:03

MikeN


2 Answers

Something like that?

like image 150
vartec Avatar answered Sep 21 '22 13:09

vartec


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

like image 42
Emerson Macedo Avatar answered Sep 20 '22 13:09

Emerson Macedo