rake error while db:migrate

I am getting a variety of errors when following command is run:

rake db:migrate

Attached is the image file.

Attachments: http://www.ruby-forum.com/attachment/6497/rake_error.png

hi rohit, Just include the following line in your config/application .rb inside the class include Rake::DSL And also include the following line at the start of the confg/application.rb

          require 'rake'

Thanks & Regards, Manivannan.S

Thanks Tom. It got solved with the suggestions in that link.

Thanks Mani. Will do the changes.