Just upgraded to haml 2.2.2 and got the error when running rake test:

/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/precompiler.rb:
385:in `close_element': wrong number of arguments (3 for 1)
(ArgumentError)
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:385:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:385:in `close'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:189:in `process_indent'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:189:in `times'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:189:in `process_indent'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
precompiler.rb:159:in `precompile'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
engine.rb:112:in `initialize'
        from /usr/local/lib/ruby/gems/1.8/gems/haml-2.2.2/lib/haml/
template/plugin.rb:21:in `new'
         ... 27 levels...
        from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
rake_test_loader.rb:5:in `load'
        from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
rake_test_loader.rb:5
        from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
rake_test_loader.rb:5:in `each'
        from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
rake_test_loader.rb:5
rake aborted!

I removed the vendor/plugins/haml directory and all seems well.

Is this normal?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to