I am upgrading an existing rails application from Rails verison 2.3.5 to 3.0.3.
I added some files, and while running rake db:migrate, getting error:
Added the line
I added some files, and while running rake db:migrate, getting error:
uninitialized constant Rake::RDocTaskAfter long searching, running rake --trace and analyzing found the fix.
Added the line
require 'rake/testtask'
require 'rake/rdoctask'below "require 'rake'" in Rakefile and it worked.
Grt....thanks very much for sharing this Ritesh. It saved me a lot of time - AU
ReplyDeleteGlad to hear that & Thanks for your appreciation.. :)
ReplyDeleteYes, thank you.. This was driving me crazy
ReplyDeleteThank you!
ReplyDelete