downgrading rake version from 10.1.1 to 10.1.0

database-migration, rake, ruby-on-rails-4

Solution

Actually,

`gem uninstall rake -v 10.1.1`

and then

`bundle install`

Works for me. Thanks Ju Liu.

Problem

`Gemfile` ``` gem 'rails', '4.0.0' ruby '2.0.0' ``` I am using rails 4 but some how, rake 10.1.1 is installed. So, whenever I fire a command like `rake db:migrate` It is giving following error: ``` rake aborted! You have already activated rake 10.1.1, but your Gemfile requires rake 10.1.0. Using bundle exec may solve this. ``` I don't want to write `bundle exec` each time I fire rails commands. So, any nice solution for this?? Thanks for your interest

Original source