Deploying Rails Apps to heroku from multiple PC -



Deploying Rails Apps to heroku from multiple PC -

i rails newbie , learning build rails apps. first time deploy home pc , fine, want work on apps , deploy laptop , work pc, turn out cannot deploy update code. every time force github work fine, when want force heroku didn't deploy code. opened heroku apps, , it's out-dated

$ git force counting objects: 26, done. delta compression using 2 threads. compressing objects: 100% (13/13), done. writing objects: 100% (14/14), 1.22 kib, done. total 14 (delta 9), reused 0 (delta 0) git@github.com:myprofile/myapp.git bb15762..94d0674 master -> master $ git force heroku master up-to-date

i utilize linux on virtualbox , clone each pc, has identical id , mac believe. did necessary git remote add together heroku , in end heroku ignore update code , never rerun build.

i tried run command $ heroku rollback $ heroku restart --app myapp in order update code force heroku still did't work either. when run $ heroku info --app myapp give app info

=== my-app addons: heroku-postgresql:dev git url: git@heroku.com:my-app.git owner email: myemail@gmail.com repo size: 13m slug size: 17m stack: cedar web url: http://my-app.herokuapp.com/

i wonder happen , using home pc force heroku kind of annoying me because need work on anywhare if possible. give thanks future answers!

when phone call command git remote -v gives me these:

all git@github.com:myprofile/my-aap.git (fetch) git@github.com:myprofile/my-aap.git (push) github git@github.com:myprofile/my-aap.git (fetch) github git@github.com:myprofile/my-aap.git (push) heroku git@github.com:myprofile/my-aap.git (fetch) heroku git@github.com:myprofile/my-aap.git (push) origin git@github.com:myprofile/my-aap.git (fetch) origin git@github.com:myprofile/my-aap.git (push)

i resolved issue. @phoet - give thanks hints. adding wrong remote master heroku reason why force didn't go through.

so remove existing remote , adding again. works little adjustment.

ruby-on-rails heroku github

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -