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
Comments
Thank you
http://roneebin.webs.com/