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
Edit this guide on Github

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:

1 Upgrade your current application

Replace the line that looks like this:

gem 'refinerycms'

With a line that looks like this:

gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: 'master'

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

$ bin/rails generate refinery:cms --update

2 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.