Team Kaverisoft
my blog is abt wht i have learnt technically, mostly in Ruby on Rails, Javascript, node.js hope this share a little bit of info & adds a bit stuff., Thanks.
Sunday, May 29, 2011
Tuesday, May 24, 2011
Rails 3 - rake aborted! undefined method `task' for #
Hi,
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
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
Subscribe to:
Posts (Atom)