<p>I am trying to get Haml to work with my Ruby on Rails project. I am new to Ruby on Rails and I really like it. However, when I attempt to add an <code>aplication.html.haml</code> or <code>index.html.haml</code> for a view, I just receive errors.</p>

<p>I am using NetBeans as my IDE.</p>

First,
install haml
as a gem in bundler by adding this to your
```
Gemfile
```
:
```
```
gem "haml"
```
```
Run
```
bundle install
```
, then make sure your views are named with a
*.html.haml
extension.  For example:
```
```
`-- app
    `-- views
        |-- layouts
        |   `-- application.html.haml
        `-- users
            |-- edit.html.haml
            |-- index.html.haml
            |-- new.html.haml
            `-- show.html.haml
```
```