1

I'm a newbie to RoR, GitHub and Heroku, so I'm still trying to figure this out.

I've made changes to some file in my private GitHub repo, and saved changes ("commit"). I was expecting to see those changes reflect immediately on the app's URL, but I see no change. Is there a time delay, or am I doing things wrong?

I edited the sourcecode from within GitHub itself. I also used Aptana as well.

oxo
  • 4,343
  • 10
  • 32
  • 35

3 Answers3

3

you have to push your changes to heroku

git push heroku master

take a look at Getting Started with Heroku

daniel
  • 901
  • 1
  • 10
  • 21
  • Thank you! I was going through the docs and realized that that was the problem. – oxo Feb 21 '11 at 18:44
3

you have to push your changes to your heroku repo manually like this:

$ git push heroku master
Mauricio
  • 5,854
  • 2
  • 28
  • 34
0

Total Git / Heroku n00b here.

Just wanted to chime in to say that before running the push command, I had to first run a pull request..

git pull

Multiple commits had been made, but just running the push command wasn't showing changes on the Heroku app. I think the reason being was that the updated files were not committed by me, but by someone else remotely. However I'm the one who set up and am managing the Heroku app. So, I had to pull the committed files onto my local setup before I could push them to Heroku.

Thanks go to willglynn for the clue-in via his answer on another thread:

Community
  • 1
  • 1
mroncetwice
  • 420
  • 6
  • 16