Mohit Sindhwani wrote:
Saša Babić wrote:
Thus, I propose that we put in config/environtment.rb something like:
RADIANT_GEM_VERSION = '0.7.1' unless defined? RADIANT_GEM_VERSION
I thought be default if nothing is specified, it would use the most
recent install of Radiant?
Yes, and I think that can be a problem in some cases.
Unless for some reason you want to force it to '0.7. 1' if the gem
version is not specified.
Let's say you have a couple of production installations of Radiant
0.6.9. You hear a new shiny Radiant is out, and you want to try it out.
You upgrade your gem, and suddenly your production installations are
broken. This is exactly what happened to me. In fact, it doesn't have to
be you, your hosting provider could have upgraded the gem without
notifying you. I admit, it is easily solved by specifying the
RADIANT_GEM_VERSION in config/environment.rb, but you have to know that
in advance. Clearly, in this case it would help if your Radiant was
locked to the right gem version.
I believe there is no compelling reason for the other way around. If you
want to try a new version of Radiant, you could always comment out the
above line. And nothing breaks.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant