title: Generating Bundle in Symfony
body: <p>Can't find a solution for this on stack.</p>
  
  <p>I'm using ubuntu server, </p>
  
  <pre><code>$php app/console generate:bundle --namespace=WMDN/FirstBundle --format=yml
  </code></pre>
  
  <p>goes fine until :</p>
  
  <pre><code>Generating the bundle code: OK
  Checking that the bundle is autoloaded: FAILED
  Confirm automatic update of your Kernel [yes]? yes
  Enabling the bundle inside the Kernel: OK
  Confirm automatic update of the Routing [yes]? yes
  Importing the bundle routing resource: OK
  
  
   The command was not able to configure everything automatically.
  You must do the following changes manually.
  
  
  - Edit the composer.json file and register the bundle
  namespace in the "autoload" section:
  </code></pre>
  
  <p>I thought it was permissions, and set the whole dir to 775 and made sure owner was good.
  I thought it was outdated bug for symfony and deleted whole dir, and got 2.4.4</p>
  
  <p>I'm following a tutorial and their bundle generates just fine and I'd like mine to do it as well.</p>
  
  <p>Why can it not autoload? My Namespace should be good to use. I cannot figure it out.
  I have composer installed.</p>
  
  <p>Following this tutorial series : <a href="http://www.youtube.com/watch?v=GIcY5YYfZ14" rel="nofollow">http://www.youtube.com/watch?v=GIcY5YYfZ14</a> and I'd really like to get my first bundle created so I may continue.</p>
  
  <p>In conclusion, what are the reasons a bundle would fail autoload?</p>