我使用RailsInstaller创建了一个Empty rails项目,能够生成一对SSH并在git / github上设置我的项目。然后我去了Heroku设置,gem install和create命令运行良好。尝试git push并收到下面的错误,尝试使用PuTTY ssh到heroku,但我甚至不确定这是正确的步骤。我一直在遵循this book的确切说明来设置这个项目。
C:\Rails_Projects\first_app>heroku keys:add
Found existing public key: C:/Users/Jeff/.ssh/id_rsa.pub
Uploading SSH public key C:/Users/Jeff/.ssh/id_rsa.pub... done
C:\Rails_Projects\first_app>heroku create --stack cedar
Creating protected-spire-2324... done, stack is cedar
http://protected-spire-2324.herokuapp.com/ | git@heroku.com:protected-spire-2324
.git
Git remote heroku added
C:\Rails_Projects\first_app>git push heroku master
Server refused public-key signature despite accepting key!
FATAL ERROR: Disconnected: No supported authentication methods available (server
sent: publickey)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
如果我需要提供任何其他信息,请告知我们,谢谢。