small medium large xlarge

03 Jan 2013, 21:45
Stefano Cavalieri (3 posts)

Good Evening,

i’m reading _Agile Web Development with Rails (4th edition) P1.0_, and I had no problem until page 80, where running _rake db:migrate_ command, get following error :

rake aborted! ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead. /Users/work/depot/Rakefile:7 (See full trace by running task with --trace)

I installed Rails 3.0.5 and Ruby 1.8.7, according to the instructions of the Book, and i work with Mac os X Lion 10.7.5.

Can someone help me with this problem?

Thanks so much


04 Jan 2013, 11:15
Pierre Sugar (57 posts)

Try using $ bundle exec rake db:migrate that ensures that the versions from the Gemfile are used. Check your Gemfile if you have the right versions installed. To be sure run $ bundle install before running db:migrate.

You must be logged in to comment