Add the gem to the gemfile, bundle install...

naming convention of the views should be: name.html.haml.

Rails will render templates with a .erb extension before rendering templates 
with the .haml extension. So if you have index.html.erb, and index.html.haml 
exist, be sure to delete the erb file.

what do you mean "not recognized by the browser" ? missing template error?

On Jun 8, 2011, at 3:34 AM, Pardeep wrote:

> Does anyone have any experience with Eurubis or Tenjin vs Haml or Erb
> in a production environment for ease of dev and speed?
> 
> Incidentally I had problems getting Haml working. Installed haml gem
> and install bundle having included it in the gem file. Was able to
> generate haml files via the command line, but not recognized in the
> browser.
> 
> Any tips much appreciated.
> 
> -- 
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to