/ Published in: Rails
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.
Expand |
Embed | Plain Text
########################### #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
You need to login to post a comment.
