Q:

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-omniauth-template.rb -T -O

In the end of the installation it gives me the error:
The template [https://github.com/RailsApps/rails3-application-templates/raw/master/rails3-mongoid-omniauth-template.rb] could not be loaded. Error: You have already activated rake 0.9.2, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.

If i do RVM gem list or gem list I get two versions of rake:
rake (0.9.2.2, 0.9.2)

How do I tell RVM or whatever it is I have to tell, to use ONLY the latest?

A:

Be explicit in your Gemfile about the version that you want.
gem "rake", "0.9.2"
Update your Gemfile.lock with:
$ bundle update
Remove the version you don't want.
$ gem uninstall rake -v 0.9.2.2
You can reverse these numbers depending on which gem you actually want to use.

