Ruby HTML CSS JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Handle changes to ENGINE_PATH since Rails 5.1 Sep 27, 2017
certs Update gem signing certificate Sep 27, 2017
config Added spring support for slightly faster development. Dec 6, 2014
core Generator specs clean up after themselves. Mar 12, 2018
doc/guides Update documentation based on 3535b90 that has been lost from textile… Mar 7, 2018
dragonfly Separate Dragonfly from Images and Resources. (#3289) Oct 18, 2017
exe Move refinerycms executable to exe/. Apr 9, 2015
images Fix permitted params allowing new images to be uploaded Mar 4, 2018
lib Baby steps in removing authentication from refinery. (woohoo!) Jul 18, 2015
pages Add tests to be sure locale is not in path when we visit the default … Mar 15, 2018
resources Now use https protocol for links to Nov 7, 2017
spec Allow usage of bin/rspec ./*/spec --only-failures Jul 28, 2016
tasks authentication is no longer part of this repo Sep 19, 2015
templates/refinery Bump refinerycms to 4.0.0 Sep 27, 2017
testing Now use https protocol for links to Nov 7, 2017
tmp/pids Add tmp/pids folder. Jun 12, 2012
.gitignore Allow usage of bin/rspec ./*/spec --only-failures Jul 28, 2016
.pullreview.yml Fix Malformed PullReview conf file Dec 8, 2014
.rspec Randomly order specs. Nov 25, 2013
.travis.yml Add Ruby 2.5.0 to CI and update others. Mar 12, 2018
.yardopts authentication is no longer part of this repo Sep 19, 2015
Gemfile Fix CI error due to pg 1.0.0 Jan 13, 2018
Rakefile Update Rails 3.2 -> Rails 4.0 APIs. Sep 2, 2013 Rename FactoryGirl to FactoryBot. Oct 29, 2017 Allow use of webserver Mar 29, 2012 Now use https protocol for links to Nov 7, 2017 the Resolve Digital website now runs on HTTPS. Link directly to avoid… Mar 12, 2016 Update Jan 19, 2018
refinerycms.gemspec Now use https protocol for links to Nov 7, 2017

Refinery CMS™

An open source content management system for Rails 5.1+

More information at

Build Status Code Climate Coverage Status

You can chat with us using Gitter:

Gitter chat


  • Bundler
  • ImageMagick
    • ⚠️ Warning: ImageMagick currently has a serious security vulnerability, CVE-2016–3714. After installing, you must disable certain features in ImageMagick's policy configuration. Please see the following for details:
    • Mac OS X users should use homebrew's brew install imagemagick or the magick-installer.

How to

Getting Started

If you're new to Refinery, start with this guide:

For Rails 5.1+ support, you can use version 4.0.x using this template:

rails new app_name -m

For Rails 4.2.x support, you can use version 3.0.x using this template:

rails new app_name -m

You can also install the edge version for the latest code using this template:

rails new app_name -m

What's it good at?

Refinery is great for sites where the client needs to be able to update their website themselves without being bombarded with anything too complicated.

Unlike other content managers, Refinery is truly aimed at the end user making it easy for them to pick up and make changes themselves.

For developers

  • Easily customise the look to suit the business.
  • Extend with custom extensions to do anything Refinery doesn't do out of the box.
  • Sticks to "the Rails way" as much as possible; we don't force you to learn new templating languages.
  • Uses jQuery for fast and concise Javascript.


Wanna see Refinery for yourself? Try the demo.

Help and Documentation



  • Easily edit and manage pages with a visual editor.
  • Manage your site's structure.

Images & Files

  • Easily upload and insert images.
  • Upload and link to resources such as PDF documents.
  • Uses the popular Dragonfly.
  • Supports storage on Amazon S3.

Authentication & Users

  • Manage who can access Refinery.
  • Control which extensions each user has access to.
  • Uses the popular Devise.

Custom Extensions

Extend Refinery easily by running the Refinery extension generator. For help run the command without any options:

rails generate refinery:engine

Popular Extensions

  • Blog - A simple blogging extension that supports posts, categories and comments with optional moderation support.
  • Portfolio - manage groups of images like an image gallery.
  • News - post and manage news items.
  • Inquiries - simple contact form that notifies you and customer when an inquiry is made.

Full extension list here

Example Site Showcase

List here (add your link when you're done)


See and Contributing to Refinery guide for details about contributing and running test.


Refinery CMS™ is released under the MIT license. See the file for details.


Many of the icons used in Refinery CMS™ are from the wonderful Silk library by Mark James.