Error deploying to heroku

后端 未结 4 1629
刺人心
刺人心 2021-02-10 00:37

Please help. I have absoluty no idea what\'s wrong. The rails app works on my local machine.

If I do this:

git push heroku master
         


        
4条回答
  •  青春惊慌失措
    2021-02-10 00:59

    I was having problems with a repository as small as 130MB. I don't really want to prune my repository, nor do I feel it is necessary.

    I can't help but feel this is a problem with git and/or Heroku, I believe a big push should succeed, even over a "slow" or less than ideal connection.

    How I solved/worked-around this issue was to spin up an EC2 instance, checkout my repo there, and push to github. In that way, my deploy speed was 4MiB/s (faster than my own 80KiB/s!). Furthermore, in the cases where the push would fail due to some configuration issues, I could quickly tweak and try again.

    For more information on this technique, I've written up the full steps on how to spin up an EC2 instance for this purpose here: http://omegadelta.net/2013/06/16/pushing-large-repositories-to-heroku/

提交回复
热议问题