From: Kevin Hopkins Date: 2010-05-06T00:44:24+09:00 Subject: Re: do Rails/gems updates break applications? --000e0cd3f2f63b70630485dab320 Content-Type: text/plain; charset=ISO-8859-1 To answer this question, check out my previous email about the environment.rb config. when you set it up explicitly, you will be requiring the certain versions and libraries. When you need to migrate the app, boom, run rake gems:install or rake gems:unpack and it will either download and install or simply unpack from vendor the correct version of the gems you need. If your inheriting a project and have access to the previous server, just run gem list and make a notation of the versions of the gems installed. Then yo ucan run through the environment file in that project and update the code to reflect the gems that were being used to simplify migrations/deployments in the future. Hope this helps, _Kevin On Wed, May 5, 2010 at 11:30 AM, enos76 wrote: > Jonathan Nielsen wrote: > > [...] Gem updates and Rails updates have rarely broken my apps, and the > > few code changes I have needed have been well-documented. > > Let's say you must reinstall a server, or migrate many old applications > into a single machine. In such case, could it be that you would have to > fix their code? > > (last question then I migrate to the Rails mailing list I promise :-P) > > Thanks, bye > -- > Enos > > -- Kevin Hopkins, MCP MCTS (c) 540.331.1772 (e) kevin@wearefound.com (w) www.wearefound.com --000e0cd3f2f63b70630485dab320--