Heroku-18: Git push fails. Showing different versions of Ruby on push

前端 未结 3 1355
南方客
南方客 2021-01-25 07:10

My apologies if this is a dumb question. I am not familiar with anything about Ruby. Also tried several solutions from SO. Managed to upgrade Ruby, resolve dependencies. Now jus

3条回答
  •  不知归路
    2021-01-25 07:49

    -> git push heroku master #I run this in my app and I got the error message for the app. I check the "config" file under the "./git/" It IS showing 2 Apps:

    [remote "origin"]
        url = https://git.heroku.com/yinow.git
        fetch = +refs/heads/*:refs/remotes/origin/*
    # [remote "heroku"]
    #   url = https://git.heroku.com/yinow.git
    #   fetch = +refs/heads/*:refs/remotes/heroku/***
    

    I comment out the "heroku" part as above, and run the push command again like this:

    -> git push origin master

    and the problem gone!

提交回复
热议问题