For me it works good. Move times the instruction to the end of the
document (after "require "#{RAILS_ROOT}/vendor/plugins/
community_engine/config/boot.rb" ")


On 18 Feb., 15:06, Charles Hoffman <[email protected]> wrote:
> 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 
> onhttp://0.0.0.0:3001/usr/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/deser...
> 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