Heroku error message no Cedar-supported app detected

主宰稳场 提交于 2019-12-04 05:47:14

You need to cd in to your project directory, as I'm assuming ~/work-space isn't the name of your app.

Do the following: cd path/to/root/of/your/project and try the command again.

UPDATE

Historically, the more major fix for this has been one of two things:

Correctly naming your .buildpacks file (make sure it's not .buildpack)

or

Reinitializing your .git files:

rm -rf .git
git init
git add .
git commit -am "Reinitialize"
heroku create --stack cedar
git push heroku master

I GOT IT! OH LORD I GOT IT!

Ahem...


So, Steve and Collin were correct. I did in fact need to be in my project directory so Heroku could sense my Ruby files and proceed accordingly. I goofed up when I pushed my initial app to Bit Bucket. I pushed my app onto Bit Bucket inside of a main directory. This made my app the a subfolder, which in turn made it impossible for Heroku to detect its presence.

The solution was selecting all of my app, click and dragging it to the desktop and deleting the phony main folder. I the proceeded to put my files back into the Bit Bucket repository and add, committed, and pushed it to Bit Bucket.

If this happens to you, make sure that you also drag the hidden folders in your app into your new folder as well, as that could really mess you up.

Thanks everyone!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!