How do I deploy my RoR app on Heroku?

I'm going through the 4th edition of _Agile Web Development With Rails_. I tried to deploy my depot app on (hosted by RS Hosting) but couldn't figure out how to do so. I have been directed to deploying on Heroku first, but I'm stuck.

I'm following the instructions on Getting Started on Heroku | Heroku Dev Center . Everything is OK until it's time to push my application onto Heroku. My Heroku push is rejected, because no Rails or Rack app is detected. The output is:

The authenticity of host ' (' can't be established. RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c: 1f:c8:60:ad. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ',' (RSA) to the list of known hosts. Counting objects: 74, done. Compressing objects: 100% (58/58), done. Writing objects: 100% (74/74), 87.00 KiB, done. Total 74 (delta 2), reused 0 (delta 0)

-----> Heroku receiving push ! Heroku push rejected, no Rails or Rack app detected

To ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to ' summer-7605.git'

WHAT'S WRONG? I'm sure that there's one little step that's left out of the procedure. What is it?

very hard to diagnose, but try the following:

git add . -A

git commit -m “blah”

git push heroku master

all in your apps folder. Seems that some files are not in your git repository, but that is just a wild guess.