Two versions of rake installed = errors

I've just upgraded to ruby 1.9.3 and rails 3.2.2. I'm trying to create this application: rails new myapp -m https://github.com/RailsApps/rails3-application-templates/raw/master/rails3-mongoid-omni...