One can always migrate to newer version but there are few things that needs to be taken care of. Instead, you can think about installing multiple versions of Rails and switching between them as you step through the process of updating your Rails applications using rvm
.
I would highly recommend reading Updating Rails article by Daniel Kehoe
.
Also, see an excellent Railscasts video by Guru Ryan Bates
.