With haml 1.8.2 and a relatively recent version of edge rails and RSpec trunk, my specs crash with the following error:
c:/ruby/lib/ruby/gems/1.8/gems/haml-1.8.2/lib/haml/template/plugin.rb: 42: undefined method `register_template_handler' for ActionView::Base:Class (NoMethodError) The template handler stuff has been moved to ActionView::Template, so I know the cause of the error, and by modifying the plugin.rb from the gem to use ActionView::Template instead all specs run fine. Only thing is that doing this in the gem is obviously not an ideal solution because I've also got apps frozen to versions of rails before that switch was made. So my question, is there any nice workaround for this? I thought about freezing the gem to the rails app, and making the change there, but it would be nice to not have to freeze haml everytime. I also tried to upgrade to haml 1.9 from github, but was unable to install from the gem because I'm on windows and it couldn't uncompress some .tar files. Appreciate any help you can provide! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
