If you're seeing this error when you git push heroku master:... or this error listed by heroku logs:-----> Heroku receiving push
! Heroku push rejected, no Rails or Rack app detectedheroku[slugc]: Slug compilation failed: no Rails or Rack app detected
Then most likely you didn't explicitly specify Cedar as your heroku stack. You can fix this now by doing the following:$ heroku create --stack cedar
Creating freezing-water-1234... done, stack is cedar
http://freezing-water-1234.herokuapp.com/ | git@heroku.com:freezing-water-1234.git
Now you need to correct your git remote definition for heroku. I just edited my .git/config file, like so:...
[remote "heroku"]
url = git@heroku.com:freezing-water-1234.git
...
Now git push heroku master gets you on the right track.
Hope that helps!
Oct 10, 2011
NodeJS: Heroku push rejected, no Rails or Rack app detected
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment