On May 15, 2007, at 5:25 AM, Francesco Lunelli wrote:

> I changed the code in the gem, but I would prefer to do a cleaner job
> becasue changing the gem changes every radiant site on the same  
> machine.
> (Fortunately I have only one site for the moment)

While it's still a little ugly, you'd probably be better off freezing  
radiant to that one site and hacking it there.  That way your gem is  
still pristine and can be updated as needed without breaking your  
changes.  Just run rake radiant:freeze:gems (I think) and it will  
unpack your gem (as it currently stands) into the vendor directory.   
You can then reinstall a pristine copy of the radiant gem for other  
sites.

Of course, the only truly clean way of doing it would be through an  
extension, but the above could be done quickly.

Matt

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to