arnaud-lb / MtHamlBundle

Symfony2 HAML bundle
38 stars 13 forks source link

non-existing-service ... #5

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi :-)

The approach in Sf2.1 would be to add: "mthaml/mthaml": "dev-master" in the require section of the composer.json and then do a php composer.phar install so composer install it and register it automatically - all done and ok.

But when I add the following line to /app/config.yml as described in your step 4: framework:

...

templating:
    engines: ['haml','twig']

I get this error:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "templating" has a dependency on a non-existent service "templating.engine.haml".

Is there a solution for that?

ghost commented 12 years ago

sorry - fixed. I forgot to install the bundle itself :-/