2013-12-13 5 views
0

나는 이것이 일반적인 경우이지만 Google/stackoverflow를 검색했으며 어떤 해결책도 적합하지 않다는 것을 알고 있습니다. 나는이 RoR 앱을 가지고있어 내가 영웅에게 밀어 넣으 려하고있어. (? 다이노) 우선은 gentle-savannah-1528을 생성하고 난 git push heroku master을하려하지만이 오류가 얻을 :Heroku에 오류가 발생했습니다

emmanuels-imac:kal siaW$ git push heroku master 
fatal: 'heroku' does not appear to be a git repository 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 
emmanuels-imac:kal siaW$ 

내가 시도 많은 soluctions을하지만 아무것도 작동하지 않습니다. 누군가 시간을 절약 할 수있게 도와 줄 수 있습니까? 나는 더 이상 Heroku에 어떻게 가야 하는지를 알아 내려고 노력할 시간이 없다.

는 이미 한 :

emmanuels-imac:kal siaW$ heroku git:remote -a gentle-savannah-1528 
emmanuels-imac:kal siaW$ git push heroku master 
fatal: 'heroku' does not appear to be a git repository 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 
emmanuels-imac:kal siaW$ 
+0

'git remote -v'명령의 출력은 무엇입니까? – OneChillDude

답변

5

당신이 Heroku에 대한 remote를 작성하지 않은 것 같은데.

these instructions에 따라, 작업이 완료했는지 확인 : heroku git:remote -a gentle-savannah-1528

가 그런 시도 :

git push heroku master

+0

우스운 일은 이미 저랬습니다. 내 메인 게시물의 편집을 확인하십시오. – Emanuel

+0

'git remote -v'의 결과는 무엇입니까? – CDub

+0

그리고 로컬 머신의 git 저장소에있다? 내 로컬 컴퓨터에서 – CDub

0

오류«올바른 액세스 권한이 있는지 확인하십시오»라고합니다. 당신은 아마도 공개 키를 Heroku에 업로드해야합니다. 간단히 터미널에서 이것을 입력 :

heroku keys:add ~/.ssh/id_rsa.pub 

This page on the Heroku website

당신이없는 경우 하나를 만드는 방법에 대해 설명합니다.

관련 문제