錯誤如下:
no implicit conversion of Fixnum into String (TypeError)
錯誤出在這裏:
production:
adapter: mysql2
encoding: utf8
database: iboyue
username: root
password: 123
pool: 5
host: 127.0.0.1
port: 3306
密碼類型應該是字符串,但是這裏密碼是123,系統把它當作數字來處理,出現了錯誤,加上引號即可。
password: '123'