Comparing version 9 and version 8
# Backup your database # Update the gem# Create a new Radiant project using the updated `radiant` command% gem update radiant# Copy your old database configuration (config/database.yml) over to the new project # Execute the following command in the new project's root directory:% radiant -d [mysql|sqlite3|postgresql] /path/to/projectAny plugins you used in the past will need to be upgraded to use the new [[Extensions|extension]] system.% rake production db:migrateUpdating 0.6.x Gem installs
# Update your local gems# Make a backup copy of your Radiant install (just in case) # Update Radiant% sudo gem upgrade# Check your% rake radiant:updateconfig/environment.rbfile and copy any additions over if necessary # Migrate your databaseNote if you're updating from a pre-0.6.5 gem that you'll need to change the RADIANT_GEM_VERSION constant in config/environment.rb (eg to “0.6.6”) or remove it altogether. Also config/environment.rb has changed in 0.6.5 so you'll have to copy any pre-0.6.5 modifications from environment.bak into the new environment.rb.% rake db:migrateUpdating a Radiant install that was frozen to edge
Delete thevendor/radiantfolder before upgrading. If you don't the update will appear to succeed but nothing will actually get upgraded.
