Prob with migration

I saw the same problem posted earlier too on this group but still
didnt find any solution…

I created a new database and a table.

when I tried the comman rake migration

it says

“Rake Aborted!
Dont know how to build task ‘migrate’”

I donno wats wrong…

does anyone have any idea how to solve this???

My Database.yml file is

development:
adapter: mysql
database:railslist_development
username: root
password: admin
host: localhost
timeout: 5000

adapter: mysql
database: railslist_test
username: root
password: admin
host: localhost
timeout: 5000

production:
adapter: mysql
database: railslist_production
username: root
password: admin
host: localhost
timeout: 5000

Any help would be appreciated.

Thanks

On 7 May 2008, at 08:25, Ashit V. wrote:

“Rake Aborted!
Dont know how to build task ‘migrate’”

Your info is out of date. It’s now rake db:migrate

Fred

You should command exactly as “rake db:migrate”

Ashit V. e$B<LF;!'e(B

Hello,

Give the command as rake db:migrate

regards
sumesh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs