-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bdc5cf
commit 9da207a
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |