If I move the module's folder and try 'drush cc all', I get this:

require_once(/Users/joachim/Sites/joachim-accounts/sites/all/modules/entity/includes/entity.controller.inc):[warning]
failed to open stream: No such file or directory bootstrap.inc:2999
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
'/Users/joachim/Sites/joachim-accounts/sites/all/modules/entity/includes/entity.controller.inc'
(include_path='.:') in /Users/joachim/Sites/joachim-accounts/includes/bootstrap.inc, line 2999

Fatal error: require_once(): Failed opening required '/Users/joachim/Sites/joachim-accounts/sites/all/modules/entity/includes/entity.controller.inc' (include_path='.:') in /Users/joachim/Sites/joachim-accounts/includes/bootstrap.inc on line 2999

Comments

fago’s picture

Status: Active » Closed (works as designed)

That's unfortunately caused by drupal's registry... nothing we can do about that. try running a registry rebuild with the registry rebuild module.

scor’s picture

yes, drush rr FTW!