1

I made a very simple rails app on local host and deleted public/index.html and changed the :root route to another page. It worked fine, but when I deployed to heroku, that index.html page shows up "Welcome Aboard, you're riding ruby on rails"

How can I get rid of that in Heroku? Why is it there?

Leahcim
  • 40,649
  • 59
  • 195
  • 334

1 Answers1

13

Did you make sure to remove public/index.html from your git repo that you're pushing as well?

git rm public/index.html
git add -u
git commit -m "Removed index.html"
Steven Jackson
  • 424
  • 3
  • 8
  • More info on this topic is at http://stackoverflow.com/questions/6351182/app-pushed-to-heroku-still-shows-standard-index-page – Will Oct 04 '12 at 18:46
  • For those that have done this, and there is still a problem: rake tmp:cache:clear – Will Nov 23 '12 at 05:03