> This would also mean hacking boot.rb, which is not a very nice > solution and means additional work merging everytime you upgrade > rails.
Obviously any change to boot.rb that isn't included in Rails will require merging on upgrade. In case it wasn't clear, I was suggesting the change (or a similar one) be included with Rails. Rails uses ENV['RAILS_ENV'] for the environment if available, so using ENV['RAILS_GEM_VERSION'] for the gem version is similar in that regard. It solves this particular problem and I can't see any downsides. Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
