I am going to work on the open source Canvas-lms. Its using rails 2.3.5 but i am familar with rails 3.2.12.
Include this in your Gemfile:
gem 'rails', '3.2.12'
Then run the command
bundle update rails
I think this is the best way to do it.