I am completing the Ruby on Rails 3 Essential Training tutorial through Lynda.com on Windows 7 (64 bit) using MySQL Server 5.7 (64 bit), MySQL Connector C 6.1 6.1.2 (32 bit), Ruby 1.9.3p392 (2013) -02-22) [i386-mingw32] and Rails 3.2.12.
In the training, in the "Databases and Migration" section, I try to synchronize the database I created in MySQL with my Rails project, but I came across an interrupt message.
The instructor asked my class to go through the command line to open the rails project and run Rake to create "schema.rb" with this code:
This is what he says now when I run "db: schema: dump"
C:\Sites\todo>rake db:schema:dump rake aborted!
You have already activated rake 10.1.1, but your Gemfile requires rake 10.0.3.
Using bundle exec may solve this.
C:/Sites/todo/config/boot.rb:6:in ''
C:/Sites/todo/config/application.rb:1:in ''
C:/Sites/todo/Rakefile:4:in ''
(See full trace by running task with --trace)
What should I do to get the rake that the gemfile needs?
user2942719