読者です 読者をやめる 読者になる 読者になる

Instant Rails-2.0で"rake migrate"に失敗する

Ruby Rails

ぐぐってこちらで知りましたが、Railsのバージョンが上がったせいか、"rake migrate"から"rake db:migrate"に変わったようです。

C:\Tools\InstantRails-2.0\rails_apps\demo\db\migrate>rake migrate
(in C:/Tools/InstantRails-2.0/rails_apps/demo)
rake aborted!
Don't know how to build task 'migrate'

(See full trace by running task with --trace)

C:\Tools\InstantRails-2.0\rails_apps\demo\db\migrate>rake db:migrate
(in C:/Tools/InstantRails-2.0/rails_apps/demo)
== 1 CreateRecipe: migrating ==================================================
-- create_table(:recipes)
   -> 0.1090s
== 1 CreateRecipe: migrated (0.1090s) =========================================


C:\Tools\InstantRails-2.0\rails_apps\demo\db\migrate>