Rails heroku 数据库配置

menghuanwd · 2012年09月28日 · 最后由 menghuanwd 回复于 2012年09月28日 · 3921 次阅读

把自己的小项目放在 heroku 上,但是所有牵扯到数据库的页面都不能访问, heroku run rake db:migrate 这条命令出现错误: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 这个错误, database.yml 配置: production: adapter: postgresql encoding: unicode database: DATABASE_URL pool: 5

求高手帮助,常在线

有可能是你的网络封了 3000+ 的某个端口。

额。还有这样的情况啊?我做了静态页面放上去可以显示啊,http://damp-temple-1262.herokuapp.com/

需要 登录 后方可回复, 如果你还没有账号请 注册新账号