I'd like to set the HAML format option (http://haml-lang.com/docs/
yardoc/file.HAML_REFERENCE.html#options)

Haml::Template.options[:format] = :html5

If I put this in environment.rb however, I get this error:

=> Rails 2.3.4 application starting on http://0.0.0.0:3001
/usr/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/rails/
dependencies.rb:15:in `load_missing_constant': Constant Haml from
haml.rb not found (NameError)
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:80:in `const_missing'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:92:in `const_missing'
(etc)

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to