title: How do I use "cake bake controller all"?
body: <p>When I run <code>cake bake controller all</code>, I receive the following errors:</p>
  
  <pre><code>$ ./app/Console/cake bake controller all
  
  Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /Applications/MAMP/htdocs/cakephp/lib/Cake/Cache/CacheEngine.php on line 60
  
  Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /Applications/MAMP/htdocs/cakephp/lib/Cake/Cache/CacheEngine.php on line 60
  
  Welcome to CakePHP v2.4.1 Console
  ---------------------------------------------------------------
  App : app
  Path: /Applications/MAMP/htdocs/cakephp/app/
  ---------------------------------------------------------------
  
  You can download PHPUnit from http://phpunit.de
  
  Baking controller class for Accounts...
  
  Creating file /Applications/MAMP/htdocs/cakephp/app/Controller/AccountsController.php
  Wrote `/Applications/MAMP/htdocs/cakephp/app/Controller/AccountsController.php`
  Bake is detecting possible fixtures...
  Warning Error: Argument 1 passed to Component::__construct() must be an instance of ComponentCollection, array given in [/Applications/MAMP/htdocs/cakephp/lib/Cake/Controller/Component.php, line 79]
  
  
  Fatal error: Call to undefined method Component::getAssociated() in /Applications/MAMP/htdocs/cakephp/lib/Cake/Console/Command/Task/TestTask.php on line 394
  Fatal Error Error: Call to undefined method Component::getAssociated() in [/Applications/MAMP/htdocs/cakephp/lib/Cake/Console/Command/Task/TestTask.php, line 394]
  </code></pre>
  
  <p>However, if I run it individually, it works:</p>
  
  <pre><code>---------------------------------------------------------------
  Baking AccountsController
  ---------------------------------------------------------------
  Would you like to build your controller interactively?
  Warning: Choosing no will overwrite the AccountsController. (y/n) 
  [y] &gt; y
  Would you like to use dynamic scaffolding? (y/n) 
  [n] &gt; y
  
  ---------------------------------------------------------------
  The following controller will be created:
  ---------------------------------------------------------------
  Controller Name:
      Accounts
  public $scaffold;
  ---------------------------------------------------------------
  Look okay? (y/n) 
  [y] &gt; y
  
  Baking controller class for Accounts...
  
  File `/Applications/MAMP/htdocs/cakephp/app/Controller/AccountsController.php` exists
  Do you want to overwrite? (y/n/q) 
  [n] &gt; y
  Wrote `/Applications/MAMP/htdocs/cakephp/app/Controller/AccountsController.php`
  PHPUnit is not installed. Do you want to bake unit test files anyway? (y/n) 
  [y] &gt; n
  </code></pre>