Fix broken cache rake tasks