運行「rake db:migrate」時,我得到「數據庫配置不指定適配器」錯誤。「數據庫配置不指定適配器」錯誤與Rails 3.2中的PG寶石
這裏是我的database.yml:
development:
adapter: postgresql
database: development
username: ##########
password: ##########
host: localhost
pool: 5
timeout: 5000
我的Gemfile名單:
gem 'pg'
你在開玩笑吧。 – 2012-10-30 17:01:37
我真的,真的希望我是。 – Dan 2012-11-06 17:56:19
我真的很希望你也是,因爲我遇到了同樣的問題,並通過查看這個答案來解決它。 – 2012-11-07 16:10:17