Skip to content

Commit

Permalink
Add UPGRADE file
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Oct 16, 2012
1 parent 3bdc5cf commit 9da207a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
UPGRADE FROM 2.1.x TO 2.2.x
===========================

Upgrading your capifony configuration from **2.1.x** to **2.2.x** is quite easy.
If you don't have a custom `Capfile` file, delete it and recreate it using the
following command:

capifony .

Important: This is mandatory for both symfony 1.x and Symfony2 projects.

If you have a custom `Capfile` file, you just have to change the way you load
capifony. In capifony 2.1.x and for Symfony2 projects, the line below was used
to load capifony:

load Gem.find_files('symfony2.rb').first.to_s

You have to replace this line by the following one:

require 'capifony_symfony2'

For symfony 1.x projects, the line below was used for the same purpose:

load Gem.find_files('symfony1.rb').first.to_s

You have to replace it by the following line:

load Gem.find_files('capifony_symfony1.rb').first.to_s

That's all.

0 comments on commit 9da207a

Please sign in to comment.