If you need to freeze rails to a previous version than the latest build on your dev box, you can do this:

rake rails:freeze:gems VERSION=2.1.1