次の方法で、rubyonrailsプロジェクトをsqlite3からMySQLに変換しようとしています。
コマンドラインログは次のとおりです。
plee@sos:~/rubyonrails/blog$ gem install yaml_db
Successfully installed yaml_db-0.2.3
1 gem installed
Installing ri documentation for yaml_db-0.2.3...
Installing RDoc documentation for yaml_db-0.2.3...
plee@sos:~/rubyonrails/blog$ gem list | grep yaml_db
yaml_db (0.2.3)
plee@sos:~/rubyonrails/blog$ rake db:data:dump
rake aborted!
Don't know how to build task 'db:data:dump'
(See full trace by running task with --trace)
plee@sos:~/rubyonrails/blog$ rake db:dump
rake aborted!
Don't know how to build task 'db:dump'
(See full trace by running task with --trace)
plee@sos:~/rubyonrails/blog$
と私のOS情報:
plee@sos:~/rubyonrails/blog$ uname -a
Linux sos 2.6.38-15-generic-pae #60-Ubuntu SMP Tue May 22 11:48:17 UTC 2012 i686 i686 i386 GNU/Linux
plee@sos:~/rubyonrails/blog$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty