您的位置:首页 > 大数据 > 人工智能

Precompiling assets failed.remote

2016-03-18 16:19 483 查看
运行$gitpushherokumaster出现以下的问题
couldnotconnecttoserver:Connectionrefused
Istheserverrunningonhost"127.0.0.1"andaccepting
TCP/IPconnectionsonport5432?
Tasks:TOP=>environment

Precompilingassetsfailed.remote:!
Attemptedtoaccessanonexistentdatabase:remote:!https://devcenter.heroku.com/articles/pre-provision-database解决方案:
在config/application.rb文件里添加[/code]
config.assets.initialize_on_precompile=false
http://stackoverflow.com/questions/13712012/error-pushing-to-heroku-aborting-my-rake-assetsprecompile


                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: