git push heroku master的致命错误

问题描述:

我在尝试在Heroku上部署我的rails 4项目时出现错误。 每当我试图git push Heroku master命令我得到这个错误,git push heroku master的致命错误

C:\Sites\projects\eventstream>git push heroku master 
ssh: heroku.com: no address associated with name 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 

我试图检查与错字的错误,

C:\Sites\projects\eventstream>git remote -v 
heroku [email protected]:boiling-river-3096.git (fetch) 
heroku [email protected]:boiling-river-3096.git (push) 
origin [email protected]:nileshlg2003/eventstream.git (fetch) 
origin [email protected]:nileshlg2003/eventstream.git (push) 

这是heroku.com 一样,我不知道如何解决它,任何帮助将不胜感激。

+0

^h您已完成'heroku键:添加' – 2014-09-02 11:02:57

+0

是的我已经添加了关键 – gooner 2014-09-02 12:11:10

请试试这个

首先,你检查你创建正确的Heroku

heroku create boiling-river-309 

然后

git remote set-url heroku [email protected]:boiling-river-3096.git 

更多信息按照这个

https://devcenter.heroku.com/articles/git

+0

感谢您的建议,我试过了,但结果是一样的,'C:\ Sites \ projects \ eventstream> heroku创建沸腾的河流309 创建沸腾-river-309 ...完成,堆栈是雪松 http://boiling-river-309.herokuapp.com/ | [email protected]:boiling-river-309.git Git remote heroku添加了 C:\ Sites \ projects \ eventstream> git remote set-url heroku [email protected]:boiling-r iver-3096.git C:\ Sites \ projects \ eventstream> git push heroku master ssh:heroku.com:没有与名称关联的地址 致命:无法从远程存储库读取。 请确保您拥有正确的访问权限 并存在存储库。 – gooner 2014-09-02 11:51:34