I have successfully tried rendering some files with HAML in Rail 3 without a few.
My testfiles extension .html.haml
.
In my jammfile, I have the line mani 'hamal'
and run bundle install
.
When I run my app, I get the following error:
The template is missing
=> [: En :: en] ,: Formats => [: html], "handlers => [: rjs ,: rhtml ,: rxml,: builder,: erb]}" / user / pits / sites /
text ">
You only need to add to Rail 3:
Mani "haml-rails"
In your jammfile, then set a "bundle"
See
If you still see the error If so, restart your server Try.
Comments
Post a Comment