Updating a RoR Project to the Higher Version

I have a RoR project on rails version 1.1.6
But at present in my PC i had installed Rail of version 2.x

How can i Upgrade my project to the updated version to run
perfectly ?

Thanking You