Running on Edge

Radiant 0.6 added support for freezing the Radiant source code into the vendor directory of a Radiant project so that you can run on edge. From 0.6 to 0.6.7 this pointed at a SVN repository, but from 0.6.8 Radiant now uses a GitHub repository.

For Git via Github (Radiant 0.6.8+)

# Freeze to trunk
rake radiant:freeze:edge

# Alternatively, you can freeze to a specific branch or tag for Git (or revision or branch for svn
rake radiant:freeze:edge tag=0.6.9 | branch=master

# Update your install
rake radiant:update

# Run the database migrations for each database you use (production, development, test)
rake production db:migrate

You can see what branches and tags are available on GitHub (master == svn trunk)

Once you have the Git freeze checkout in radiant/vendor/radiant, you can also use git commands to manage what you’re frozen to, eg

# in radiant/vendor/radiant, to change from edge to tag 0.6.9 (makes a new branch called tag-0.6.9)
git checkout -b tag-0.6.9 0.6.9

For SVN (Radiant 0.6 to 0.6.7)

Same as above, except to freeze to a SVN repo revision or branch:

# Freeze to a revision or branch using SVN repo (Radiant 0.6 to 0.6.7)
rake radiant:freeze REVISION=881 | BRANCH=facets

Note that in order to freeze Radiant your project needs to be installed via the radiant command. Note that RubyGems is not a requirement for a frozen Radiant application, but you need to use the radiant command that comes with the gem in order to create a fresh Radiant project.