How do I deploy my RoR app on Heroku?

I’m going through the 4th edition of Agile Web D. With
. 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
. 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
RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:
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 [email protected]:stark-summer-7605.git
! [remote rejected] master → master (pre-receive hook declined)
error: failed to push some refs to ‘[email protected]:stark-

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.

On Sun, Oct 9, 2011 at 10:04 AM, Jason H., Mr. Swift L. <