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

Comments

Ujjwal said…
thankx for ur help......
Anonymous said…
Awesome, truly amazing work!
Thank you
http://roneebin.webs.com/

Popular posts from this blog

Install Cpanm module error : No such file or directory opening compressed index

How to increase Elasticsearch Shard recovery Speed

Getting started with Python Flask application with MVC structure