Upgrading to Edge

2 minutes and 4 seconds read.

Upgrading to Edge

If you're an experienced Refinery developer you might want to live on the edge. This guide will show you how to:

  • Keep your existing Refinery installation on the edge version


WARNING: This tutorial is only for advanced Refinery users who are used to continuous integration with Refinery. This will overwrite files so make sure you have a backup or have your current code committed to a remote git repository.

Here are the basic steps:

Upgrade your current application

Replace the line that looks like this:

gem 'refinerycms'

With a line that looks like this:

gem 'refinerycms', git: '',
branch: 'master'

Now, inside the application's directory, use the refinerycms generator to update your application:

$ bin/rails generate refinery:cms --update

Solve any deprecation problems.

Look at your log when running you app to make sure nothing has been deprecated. If there are some, fix the issues.