[Radiant] change default values
Matt Bauman
mbauman at gmail.com
Tue May 15 09:11:27 CDT 2007
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
More information about the Radiant
mailing list