2

Usually I use MAMP for my local development server which already has all of my shortcuts and stuff configured the way I like it.

A client was on Acquia Cloud and to prevent conflicts with other developers we are all using the Acquia Dev Desktop for local. Acquia Dev Desktop comes with Drush within its own package.

When running my drush cc all I was getting the following error: No Drupal site found, only 'drush' cache was cleared

After running drush status I noticed that Drush was trying to use my MAMP version of drush and thus resulting in no site found.

closed as unclear what you're asking by kiamlaluno Jul 1 '17 at 22:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

3

To fix this answer I created a new Alias called adrush which points to the Acquia DevDesktop Version.

In my .bash_profile file in my home directory I added

alias adrush='/Applications/DevDesktop/drush/drush'

now when running drush commands for sites that are in my Acquia DevDesktop environment I enter adrush cc all

Not the answer you're looking for? Browse other questions tagged or ask your own question.