【发布时间】:2014-10-26 14:12:42
【问题描述】:
我在尝试在 Heroku 上部署我的 rails 4 项目时遇到错误。
每当我尝试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 git@heroku.com:boiling-river-3096.git (fetch)
heroku git@heroku.com:boiling-river-3096.git (push)
origin git@github.com:nileshlg2003/eventstream.git (fetch)
origin git@github.com:nileshlg2003/eventstream.git (push)
heroku.com 上也一样 我不知道如何解决它,任何帮助将不胜感激。
【问题讨论】:
-
你完成了吗
heroku keys:add -
是的,我已经添加了密钥
标签: ruby-on-rails git heroku ssh