我最近將我的測試數據庫從sqlite3切換爲postgrsql。因爲這樣做,當我在這裏按照指示:上部署我的資產的Heroku https://devcenter.heroku.com/articles/rails-asset-pipeline,我得到以下錯誤:數據庫配置在準備資源預編譯時未指定適配器
database configuration does not specify adapter
這發生在運行這一步
RAILS_ENV=production bundle exec rake assets:precompile
我試圖按照指示後從這篇文章,它沒有工作。
bundle exec rake assets:precompile - database configuration does not specify adapter
我猜它是與我的database.yml文件,這是這裏
development:
adapter: postgresql
database: playerpong_database
pool: 5
timeout: 5000
encoding: unicode
host: localhost
任何想法?