Sunday, May 29, 2011

RubyConfIndia - May 28, 29 - 2011

Team Kaverisoft 

Tuesday, May 24, 2011

Rails 3 - rake aborted! undefined method `task' for #


In Rails 3. there was a problem with rake 0.9.0 gemset.

When i do rake db:create I got the following error,

undefined method `task' for #

The fix is as follows,

go to config/application.rb file.

Add this line inside the class,

include Rake::DSL

That fixed the problem