Heroku push giving me "no Cedar-supported app detected error" - ruby-on-rails

I'm trying to push my RoR to Heroku for the first time (I'm a newbie on this stuff!)
The error that I'm getting is:
-----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected
To git#heroku.com:calm-retreat-9405.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:calm-retreat-9405.git'

Double check if you committed correctly your Gemfile and config.ru

Related

! [remote rejected] HEAD -> master (pre-receive hook declined) rails App on Heroku

I have an exact same code deployed on heroku app. I update the heroku stack to 18 but now as the build is required before the new stack to take place I am getting the below error.
I tried all different scenarios including force push git push heroku master:main -f but nothing seems to be working.
here are the error logs that comes just before build is about to complete.
remote: -----> nginx-buildpack app detected
remote: cp: cannot stat 'bin/nginx-heroku-18': No such file or
directory
remote: ! Push rejected, failed to compile nginx-buildpack app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to my-app-prod.
remote:
To https://git.heroku.com/my-app-prod.git
! [remote rejected] HEAD -> master (pre-receive hook
declined)
error: failed to push some refs to
'https://git.heroku.com/my-app-prod.git'
I figured out the problem and answering my own question in case it might save someone's time.
Actually, there were multiple NGINX buildpacks in my Heroku app and they were causing issues while updating to Heroku stack-18. In my case, removing one of the nginx-buildpack solved my issue.

Deploy ember-cli-rails 5 app to Heroku - failed to compile ruby app

I'm following this thoughtbot ember-cli-rails guide but cannot get the heroku deploy working. I did have to change bin/heroku_install to remove the lines about bower, and other than that, this is following the setup guide.
I don't see any visible errors in the heroku output so I'm at a loss as to where to go next:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to enigmatic-savannah-87434.
remote:
To https://git.heroku.com/enigmatic-savannah-87434.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/enigmatic-savannah-87434.git'
The entire deploy log is here if you have the time and will to have a look. Thanks in advance
My next idea is try the sample app, deploying that, and comparing the two projects to see what I may have added that isn't playing nice. Will report back how that goes...

I can't do heroku push. ruby on rails

I did git push heroku master then I got error below
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.example.com
So I did heroku logs --tail to find out the problems then I got below
enable Logplex by exmaple#mail.com
Release v2 created by example#mail.com
Slug compilation failed: failed to compile Ruby
I don't know how to fix this issue and push heroku well. need your help!
Can you make sure you've added
gem 'rails_12factor', group: :production
To your gem file and run
Bundle install
Followed by git add . and git commit -am "something"
And try to push again.

Having trouble pushing an app to Heroku

I'm in the process of pushing a webapp I designed in Rails to Heroku, but I'm having trouble when pushing the app to heroku. According to the console, when it starts preparing the app for the Rails asset pipeline, the rake aborts. At the end I get this error:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/connectr-demo.git'
I have heard that this is because of conflicts in the commits, but I have already pulled from github and everything is up to date, or at least the console is reporting so. At the recommendation of a similar question, I tried using "git fetch origin" and "git pull --rebase" but got the exact same results. I still get this error when I try to push to heroku. Can anyone tell me how I can fix this?
Is it a fast-forward merge, or do you need to force push?
Try git push -f heroku master...
Have you tried running heroku run rake db:migrate and then try re-pushing to heroku git push heroku master
The (pre-receive hook declined) means that Heroku didn't recognize the app. Make sure that the rails app is in the root directory of the repo not in a sub directory, make sure you have a Gemfile and make sure that it is named correctly.

git push heroku error (Ruby on Rails)

I'm trying to push my rails project onto heroku but I keep receiving this message:
remote: ! Heroku Git error, please try again shortly.
remote: ! See http://status.heroku.com for current Heroku
platform status.
remote: ! If the problem persists, please open a ticket
remote: ! on https://help.heroku.com/tickets/new
remote: ! and provide the Request ID
a0ec0d23-526d-4482-a06e-88129776d9af
remote:
To https://git.heroku.com/gracepinteresting.git ! [remote rejected]
master -> master (pre-receive hook declined) error: failed to push
some refs to 'https://git.heroku.com/gracepinteresting.git'
Here's a link to the project at github: https://github.com/gracek93/pinteresting
What am I doing wrong?
heroku has difficulty today. The better now is wait for that Heroku fix their bugs. Check heroku status here

Resources