运行rake db:migrate时报上述错误:can’t convert Fixnum into String

是由于将数据库密码写成了数字导致,只需将config/database.yml中

password: 123456 改成 password:”123456″即可。