Reputation: 6415
I make a new Heroku app inside of my current app directory using Heroku create
and ran this:
MyMac:bodb pawel$ git push heroku master
Counting objects: 359, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (291/291), done.
Writing objects: 100% (359/359), 13.83 MiB | 2 KiB/s, done.
Total 359 (delta 40), reused 0 (delta 0)
! Heroku push rejected due to an unrecognized error.
! We've been notified, see http://support.heroku.com if the problem persists.
To [email protected]:myproject.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:myproject.git'
My rails app runs on Ruby 1.8.7
but even a Heroku app on --stack bamboo-ree-1.8.7
fails.
I have also run bundle install
and my Gemfile is up to date.
Upvotes: 5
Views: 4748
Reputation: 6415
I don't know why the commit was corrupted, but contacted Heroku and they sorted it out.
Upvotes: 5
Reputation: 2571
I had that error once when I changed the Gemfile but did not run bundler and therefore modified Gemfile.lock
Upvotes: 2