I get this error when trying to push a Rails app v. 1.2.6 to Herok开发者_如何学Cu:
! Heroku push rejected due to an unrecognized error.
! We've been notified, see http://support.heroku.com if the problem persist
s.
To git@heroku.com:myproject.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:myproject.git'
Heroku doesn't support Rails below 2.0. It might be painful but if you want to stay with Heroku you'd have to upgrade to at least Rails 2.3.5.
http://devcenter.heroku.com/articles/rails
It seems it's your gemfile. If your are using sqlite3
, change the line gem sqlite3
to gem pg
.
http://devcenter.heroku.com/articles/rails3
精彩评论