Skip to content

Upgrading Jeweler with Rails 3

peakpg edited this page Jan 5, 2012 · 3 revisions

This a reference page used by the bcms-upgrade command. It covers how to upgrade BrowserCMS modules to BrowserCMS 3.3.x/Rails 3 that may have been using Jeweler.

Overview

This only applies to modules that are using Jeweler to build the gem. As part of the upgrade to Rails 3, its recommended that you move any jeweler related code out of Rakefile into a .rake file. This allows the Rails 3 upgrade process to just overwrite the Rakefile safely. The bcms-upgrade binary will help generate this file.

Using Bundler Instead

We recommend using Bundler instead which is more consistent with other BrowserCMS projects/modules. To do this, add the following to your Rakefile

"""

Rakefile

require 'bundler' Bundler::GemHelper.install_tasks """

Clone this wiki locally