[email protected] dijo [Tue, Jan 13, 2009 at 11:33:18AM -0800]: > Hey guys, > > I've started seeing intermittent modification of the file: vendor/ > plugins/haml/init.rb reported on some git commits in our rails app. > I'm a little stumped why (a) that would be happening, and (b) why > intermittently. > > Anyone have any thoughts/experience/help?
Hi, I have chosen not to have Haml installed inside vendor/ but systemwide (this also helps a lot overall host maintainability, as there is only one version of the library to update if/when needed). I just include in my config/environment.rb: require 'haml' Haml.init_rails(binding) Which, yes, is based on the contents of init.rb - only that, as Haml is already in the Ruby search path, I don't have to fiddle with filepaths. Greeetings, -- Gunnar Wolf - [email protected] - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
