I am currently running Rails 4.0.0, ruby ββ1.9.3p392 (2013-02-22 version 39386) [x86_64-darwin10.8.0], with Rake 10.1.1
I was working on an application for a class in Rails, when I went to start DB rake migration, I was given the following error message:
Joses-MacBook-Air:crumblr JRV$ rake db:migrate
rake aborted!
You have already activated rake 10.1.1, but your Gemfile requires rake 10.1.0. Using bundle exec may solve this.
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.5/lib/bundler/runtime.rb:33:in `block in setup'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.5/lib/bundler/runtime.rb:19:in `setup'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.5/lib/bundler/setup.rb:7:in `<top (required)>'
/Users/JRV/crumblr/config/boot.rb:4:in `<top (required)>'
/Users/JRV/crumblr/config/application.rb:1:in `<top (required)>'
/Users/JRV/crumblr/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
Which solution will either return or override this problem in order to provide porting.
source
share