Я использую Ubuntu 10.04. Следуя инструкции здесь , я создал учетную запись Heroku, успешно установил GIT и Heroku . Я загрузил ключ SSH и добавил heroku к моей системной переменной PATH.
После этого я сделал следующее:
---------- ПЕРВЫЙ (успешно) -------------
$ cd PATH/TO/MY_APP
$ git init
Initialized empty Git repository in .git/
$ touch HELLO
$ git add .
$ git commit -m "Add a HELLO file"
------------ ТО (успешно) ----------
$ heroku create
Enter your Heroku credentials.
Email: joe@domain.com
Password:
Uploading ssh public key /Users/joe/.ssh/id_rsa.pub
Created http://high-sunrise-58.heroku.com/ | git@heroku.com:high-sunrise-58.git
Git remote heroku added
----------- ПОСЛЕДНИЕ (что не удалось !!!) ----------
$ git push heroku master
Warning: Permanently added the RSA host key for IP address 'xx.xx.xx.xx' to the list of known hosts.
Counting objects: 3, done.
Writing objects: 100% (3/3), 226 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
f
-----> Heroku receiving push
! Heroku push rejected due to an unrecognized error.
! We've been notified, see http://support.heroku.com if the problem persists.
To git@heroku.com:high-sunrise-58.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:high-sunrise-58.git'
Как вы видите выше, мой последний шаг не удался .
Что может быть причиной ошибки в моем последнем шаге (когда я перенес мое приложение в Heroku)? Почему это не удалось?