Rails heroku 数据库配置

menghuanwd · September 28, 2012 · Last by menghuanwd replied at September 28, 2012 · 3921 hits

把自己的小项目放在 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/

You need to Sign in before reply, if you don't have an account, please Sign up first.