您要查找的页面不存在。(Heroku)

时间:2013-10-21 08:54:48

标签: mysql ruby-on-rails git heroku ruby-on-rails-4

我正在制作Rails应用程序, 我做了git push heroku master,但我收到了错误“您正在寻找的页面不存在”。

选中heroku logs --tail时,

2013-10-21T09:35:55.847956+00:00 heroku[web.1]: State changed from down to starting
2013-10-21T09:35:55.847645+00:00 heroku[web.1]: Unidling
2013-10-21T09:36:03.189191+00:00 heroku[web.1]: Starting process with command `bundle exec puma -p 13465`
2013-10-21T09:36:04.333654+00:00 app[web.1]: Puma starting in single mode...
2013-10-21T09:36:04.333654+00:00 app[web.1]: * Version 2.6.0, codename: Pantsuit Party
2013-10-21T09:36:04.333654+00:00 app[web.1]: * Min threads: 0, max threads: 16
2013-10-21T09:36:04.333654+00:00 app[web.1]: * Environment: production
2013-10-21T09:36:06.831825+00:00 app[web.1]: * Listening on tcp://0.0.0.0:13465
2013-10-21T09:36:06.832075+00:00 app[web.1]: Use Ctrl-C to stop
2013-10-21T09:36:07.101486+00:00 heroku[web.1]: State changed from starting to up
2013-10-21T09:36:10.072764+00:00 heroku[router]: at=info method=GET path=/ host=tweet-code.herokuapp.com fwd="106.188.96.138" dyno=web.1 connect=1ms service=151ms status=200 bytes=66
2013-10-21T09:36:10.554305+00:00 heroku[router]: at=info method=GET path=/500.html host=tweet-code.herokuapp.com fwd="106.188.96.138" dyno=web.1 connect=1ms service=8ms status=404 bytes=1351

它正在开发中。 database.yml是这样的。

development:
  adapter: mysql2
  encoding: utf8
  database: tweetcode_development
  host: localhost
  pool: 5
  username: root
  password:

test:
  adapter: mysql2
  encoding: utf8
  database: tweetcode_test
  host: localhost
  pool: 5
  username: root
  password:

production:
  adapter: mysql2
  encoding: utf8
  database: 
  host: 
  pool: 5
  username: root
  password: 

我做了heroku run rake db:migrate,没关系。

当我git push heroku master时,我得到Running: rake assets:precompile Asset precompilation completed,所以这与资产预编译无关。

我需要检查以解决这个问题吗? 谢谢你的帮助。

0 个答案:

没有答案