Re: Upgrade existing app

Hi Chris,

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

  1. Install the new gem:

    % gem update radiant

  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:

    % rake radiant:update

  4. Run migrations:

    % rake production db:migrate

Hope this helps

Sharon

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

Sharon C. wrote:

(the Radiant Gem Version line should read RADIANT_GEM_VERSION =
‘0.6.0’

  1. Update your radiant project:

    % rake radiant:update

  2. Run migrations:

    % rake production db:migrate

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

    % gem update radiant

  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:

    % rake db:migrate

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

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

Chris

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs