views:

267

answers:

1

How to make it work?

I have a file index.html.haml and a index.html.erb. the erb one works, then when i delete the erb, it gives me the template is missing error.

I have rails 2.3.4 and installed the haml gem.

"Template is missing Missing template profiles/index.erb in view path app/views"

+2  A: 

You also need a run haml --rails yourproject which will install a initalizer in vender/plugins/haml.

Thomas R. Koll
it gives me: Directory Tests01/vendor/plugins doesn't exist
Totty
my project name is Tests01
Totty
the create `Tests01/vendor/plugins` first
Thomas R. Koll
the problem is that already exists. I think is not looking in my workspace folder. im using aptana and eclipse
Totty
already done it using the absolute path.now it works. thanks ;)
Totty