OSDN Git Service

581d35d7ca62ed6d17dd6bda8cfa15b17f0135b8
[tdcgexplorer/nimono.git] / vendor / plugins / rails_upgrade / README
1 = rails-upgrade
2
3 A simple battery of scripts for upgrading Rails app/checking them for required updates.  This application should work on Rails 2.x and 3.0, with a focus on upgrading to 3.0.
4
5 == Usage
6
7 You need to install this plugin first:
8
9     script/plugin install git://github.com/rails/rails_upgrade.git
10     
11 Then you can run its rake tasks to check your application:
12
13     # Check your app for required upgrades
14     rake rails:upgrade:check
15     
16     # Backup your likely modified files that might be overwritten by the generator
17     rake rails:upgrade:backup
18     
19     # Generate a new route file
20     rake rails:upgrade:routes
21     
22     # Generate a Gemfile from your config.gem directives
23     rake rails:upgrade:gems
24
25     # Generate code for a new config/application.rb from your environment.rb
26     rake rails:upgrade:configuration