Return to Snippet

Revision: 29011
at July 19, 2010 19:07 by chrisaiv


Updated Code
###########################
#Step 1: Change Directory to Rails App
###########################
bash$: cd rails_app

###########################
#Step 2: Use Rake to Freeze
###########################
#Freeze Rails to version 2.3.5
rake rails:freeze:edge RELEASE=2.3.5

###########################
#Use Rake to Unfreeze
###########################
rake rails:unfreeze

Revision: 29010
at July 19, 2010 19:03 by chrisaiv


Initial Code
#Freeze Rails to version 2.3.5
rake rails:freeze:edge RELEASE=2.3.5

#Thawing Rails
rake rails:unfreeze

Initial URL


Initial Description
Migrating a Rails app from Development to Production can sometimes be a real pain.  One way I help reduce headache is by copying all the necessary Rails files to make it a self-contained unit (Freezing).  If I need to make version changes later, I simply unfreeze.

Initial Title
Rails: Freezing an app

Initial Tags
rails

Initial Language
Rails