只是尝试使用heroku并将我的应用程序成功推送到heroku。但是,当我打开我的网络应用程序时,我收到一条通用错误消息,告诉我检查下面复制的日志:
2014-01-25T20:22:32.711359+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=zombie-twitter-project.herokuapp.com request_id=5c71b194-2edd-4cca- 8df2-7e867f9acd83 fwd="148.85.244.141" dyno= connect= service= status=503 bytes=
我运行了heroku rake db migrate并收到以下错误:
rake aborted!
Multiple migrations have the name CreateTweets
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:978:in `validate'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:876:in `initialize'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:764:in `new'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:764:in `up'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:742:in `migrate'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
我不知道如何解决这个问题,并希望有任何见解。
这是我的github repo https://github.com/BrianLobdell/zombietwitter
的链接最佳, 布莱恩