Open up irb.

>> require 'rubygems'
=> true
>> require 'haml'
=> true
>> ActiveSupport
=> ActiveSupport

This really shouldn't be happening.

The requires at the top of haml/helpers.rb should only happen within a
Rails environment.  Outside of Rails, ActiveSupport is highly
undesirable because of the ways it redefines stuff, and because of the
substantially increased memory footprint.  Or alternatively, the code
at the top of the those two required files should be detecting if
ActiveSupport/ActionView are already included.  In a Rails
environment, I'm pretty sure ActiveSupport/ActionView will always have
been loaded before Haml gets a chance to load (although, I haven't
tested this).

Bob.


--~--~---------~--~----~------------~-------~--~----~
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