title: Symfony composer install - Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle"
body: <p>Composer fails to install symfony in the production environment. Everything works fine in development. All permissions are fine.</p>
  
  <pre><code>PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
  Did you forget a "use" statement for another namespace? in /home/ev/app/AppKernel.php:25
  Stack trace:
  #0 /home/ev/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(396): AppKernel-&gt;registerBundles()
  #1 /home/ev/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(114): Symfony\Component\HttpKernel\Kernel-&gt;initializeBundles()
  #2 /home/ev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(68): Symfony\Component\HttpKernel\Kernel-&gt;boot()
  #3 /home/ev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(118): Symfony\Bundle\FrameworkBundle\Console\Application-&gt;doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
  #4 /home/ev/bin/console(27): Symfony\Component\Console\Application-&gt;run(Object(Symfony\Component\Console\Inp in /home/ev/app/AppKernel.php on line 25
  </code></pre>
  
  <p>This is line 25 of AppKernel.php:</p>
  
  <pre><code>$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
  </code></pre>
  
  <p>Any suggestions are welcome :)</p>