Deploy Railsapp on Heroku
I’m trying to deploy my Rails app on heroku.
But on All things it would have to fail at the very last step.
My git is all set up, I got a working git repository, a heroku account, installed the heroku_toolbelt and I can login via “heroku login”
I also can create a new repository with “heroku create” and do get my url path and the feedback “git remote heroku added”.
But trying to push it on heroku with “git push heroku master” fails and results in the following message:
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
What kind of public key is being needed? and i Know the repository exists, it’s there on my heroku account :/
I hope you can help me out!
One Solution collect form web for “Deploy Railsapp on Heroku”
You need to add your public key to Heroku – asumming you have one in your ~/.ssh folder (it would typically be called id_rsa.pub). If not generate one with
should sort the problem out and you should be able to push your application.