# Re: Upgrade existing app

**URL:** <https://www.ruby-forum.com/t/re-upgrade-existing-app/102993>\
**Category:** Radiant CMS\
**Created:** [April 30, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/re-upgrade-existing-app/102993 "2007-04-30T14:05:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [April 30, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/re-upgrade-existing-app/102993/1 "2007-04-30T14:05:24Z")

</div>

Hi Chris,

I’m not sure if this is the “correct” way but it worked on my test  
machine

1. Install the new gem:

2. Update your config/environment.rb so that it uses the latest gem.  
(the Radiant Gem Version line should read RADIANT\_GEM\_VERSION =  
‘0.6.0’

3. Update your radiant project:

4. Run migrations:

Hope this helps

Sharon

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [April 30, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/re-upgrade-existing-app/102993/2 "2007-04-30T20:33:22Z")

</div>

Sharon C. wrote:

> (the Radiant Gem Version line should read RADIANT\_GEM\_VERSION =  
> ‘0.6.0’
> 
> 1. Update your radiant project:
> 
> 2. Run migrations:

Well, the above will probably “mostly” work, but I’d recommend that you  
do the following:

UPGRADING FROM 0.5.x

1. Backup your database

2. Update the gem

3. Create a new Radiant project using the updated `radiant` command

4. Point the project to the right database by editing  
config/database.yml

5. Execute the following command in your project directory:

If you have problems during the upgrade, please let us know. Upgrading  
from 0.6 will be exactly as Sharon described above. The 0.5.x upgrade is  
complicated because we changed the upgrade process.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [May 1, 2007, 7:40am UTC](https://www.ruby-forum.com/t/re-upgrade-existing-app/102993/3 "2007-05-01T07:40:29Z")

</div>

Thank you both. I’ll try it and report problems.

Chris
