First guess - you have a strange directory structure.

When you create a new rails application like so:

rails test-app

it will create a directory called test-app.  Make sure to do  
everything from inside that test-app directory.

Oren

On Oct 10, 2009, at 6:55 PM, SS wrote:

>
> I'm following the documentation for Heroku on http://docs.heroku.com/git
> however I keep getting the following error message at the end. Can
> someone please tell me what I'm missing so that the push of my files
> passes?
>
> I can see the error message saying that "..no Rails or Rack app
> detected" but I don't understand why..since I created a git repository
> for my project and I committed my files. Is there a pre-conditional
> step that I'm missing or a configuration so that Heroku can recognize
> my project as a Rails project?
>
> $ git push heroku master
> Counting objects: 502, done.
> Compressing objects: 100% (474/474), done.
> Writing objects: 100% (502/502), 1.02 MiB | 69 KiB/s, done.
> Total 502 (delta 100), reused 0 (delta 0)
>
> -----> Heroku receiving push
> FAILED
> !     Heroku push rejected, no Rails or Rack app detected.
>
> error: hooks/pre-receive exited with error code 1
> To [email protected]:adultent.git
> ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to '[email protected]:adultent.git'
>
> Siyan
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to