Freezing Rails question

I'm going to take a stab at this, someone with more experience please correct me if I'm wrong, but rake rails:freeze:gems should freeze 1.2 to your vendor/rails directory and the app should look there after you upload it instead of running what your host has installed.