Feeds:
Posts
Comments

Archive for May 25th, 2011

Hai, today when i created an empty database

rake db:create

for a rails project, i faced the following error

Error:

rake aborted!
undefined method `task’ for #<Pagescroll::Application:0xb74dcb0c>

(See full trace by running task with –trace)

To solve it,  i followed the  below steps which i found while surfing

The issue is because of the version of rake

Steps:

1. gem uninstall rake -v 0.9

2. gem install rake -v 0.8.7

3. Edit the Gemfile and add

i. gem ‘rake’, ‘0.8.7’

4. bundle update

Now when i gave

rake db:create

It works  🙂

Read Full Post »