Heroku H14错误

时间:2014-02-11 00:06:56

标签: ruby-on-rails postgresql heroku

我不知道发生了什么。我在一些静态HTML中更改了一个拼写错误并将其推回原点并且打破了。我在heroku日志中收到此错误:

2014-02-10T23:36:07.218200+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=www.lagunasmostcreative.com request_id=98727434-1833-46d7-ad34-fcffa0d85db0 fwd="108.245.9.197" dyno= connect= service= status=503 bytes=
2014-02-10T23:33:17.447160+00:00 heroku[run.6806]: State changed from up to complete
2014-02-10T23:35:28.492706+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=www.lagunasmostcreative.com request_id=85185289-5e06-4ba4-ba7b-f8037601a385 fwd="108.245.9.197" dyno= connect= service= status=503 bytes=
2014-02-10T23:44:10.934561+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=www.lagunasmostcreative.com request_id=1c51a16d-e2f4-4c0e-9e5c-2d8292e0f0a4 fwd="108.245.9.197" dyno= connect= service= status=503 bytes=

我仍在使用rails gem pg 这是我的database.yml

# SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your Gemfile
#   gem 'sqlite3'
development:
  adapter: postgresql
  encoding: unicode
  database: Best\ of\ Laguna_development
  pool: 5
  username:
  password:

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: postgresql
  encoding: unicode
  database: Best\ of\ Laguna_test
  pool: 5
  username:
  password:

production:
  adapter: postgresql
  encoding: unicode
  database: Best\ of\ Laguna_production
  pool: 5
  username:
  password:

如果您需要我发布任何其他内容,请告诉我。这令人难以置信!我已经研究了很多关于procfiles的东西,应该使用webrick。

1 个答案:

答案 0 :(得分:0)

好的,只需添加'unicorn'gem并创建一个procfile。哦,好吧......