开发者

Heroku Rails app v 1.2.6 failed to push: unrecognized error

开发者 https://www.devze.com 2023-04-01 20:49 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消