2

I'm experimenting with using Heroku for Perl, but this question is not specific to Perl.

[root@myhost MyApp-Perl]# git push heroku master
Pushing to git@heroku.com:MyApp-perl.git
Counting objects: 17, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (17/17), 1.70 KiB, done.
Total 17 (delta 2), reused 0 (delta 0)

-----> Heroku receiving push
-----> Fetching custom buildpack... done
 !     Heroku push rejected, no Cedar-supported app detected

To git@heroku.com:MyApp-perl.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:MyApp-perl.git'
Eric
  • 5,815
  • 3
  • 25
  • 34
  • Others on SO have experienced this symptom. E.g., http://stackoverflow.com/questions/8361475/heroku-push-rejected-no-cedar-supported-app-detected – pilcrow Mar 25 '12 at 18:28

2 Answers2

0

Unfortunately there could be many causes for this error. Here are a few guesses:

  1. Are you pushing from the right branch? Heroku looks for code in the 'master' branch. From "Heroku Dev Center | Deploying With Git":

    "Branches pushed to Heroku other than master will be ignored... If you’re working out of another branch locally, you can either merge to master before pushing, or specify that you want to push your local branch to a remote master. To push a branch other than master, use this syntax:

    $ git push heroku yourbranch:master"

  2. Are all of the required files committed into your git depo? Each of the languages and frameworks on the Getting Started articles have certain requirements for deploying them on heroku. For example, Ruby requires a gemfile and either a config.ru or Procfile. Python requires a Procfile and a requirements.txt. If you are missing any of the required files heroku will not detect a valid cedar app.
It looks like you're using Perloku? If so, do you have a Makefile.PL in your git depo? Do you have an executable file called 'Perloku'? What custom buildpack are you using?
culix
  • 10,188
  • 6
  • 36
  • 52
0

I also encountered this problem, I finally solved it. It's probably because you're running on windows. The script need to be changed to executable.

Please check https://github.com/judofyr/perloku/issues/6

dns
  • 2,753
  • 1
  • 26
  • 33