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.

  • How to deploy to Heroku directly from my Gitlab repository
  • Should I use Git for deployment of web apps?
  • Git push style deployment for local IIS webserver
  • SVN checkout or export for production environment?
  • Using 'git checkout -f' to deploy files from a bare git repo in Gitlab
  • Checking out Git tag leads to “detached HEAD state”
  • 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!

  • How do you manage the unit test files in projects? do you add them in git?
  • Git restore file date creation after clone on windows
  • replace remote repository with local repo, but keep commit history of remote
  • Bitbucket SSH Key loading but not working
  • I made a pull request from my master branch. Now that request is pending and I want to submit another request
  • Cloak/Exclude folders in Source Settings in tfs 2013 build definition from Team Foundation Git repository
  • 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 If not generate one with ssh-keygen

    heroku keys:add

    should sort the problem out and you should be able to push your application.

    Git Baby is a git and github fan, let's start git clone.