haml is not converting html
i am using rails 2, and just installed haml. i can use it from the command line just fine, and I added config.gem "haml" to environment.rb.
but when I open the corresponding web page to the view I see "!!! Strict == == == %html{ :xmlns => "http://www.w3.org/1999/xhtml" } %head " as t开发者_StackOverflowext on the page.
What am I doing wrong?
turns out after putting the gem in the environments config file, you need to restart script/server...
精彩评论