【发布时间】:2014-02-11 19:55:58
【问题描述】:
我最近将我的测试数据库从 sqlite3 切换为 postgrsql。既然这样做了,当我按照此处的说明进行操作时:https://devcenter.heroku.com/articles/rails-asset-pipeline on deploying my assets to heroku,我收到以下错误:
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
有什么想法吗?
【问题讨论】:
标签: ruby-on-rails heroku heroku-postgres