2016-11-16 141 views
-1

这是我的第一个Heroku部署,我找不出为什么我会收到这些错误消息。当我去我的主页,我得到Heroku上的Rails部署

The page you were looking for doesn't exist. 

You may have mistyped the address or the page may have moved. 

If you are the application owner check the logs for more information. 

2016-11-16T05:43:25.882366+00:00 app[web.1]: F, [2016-11-16T05:43:25.882326 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' 
2016-11-16T05:43:25.882420+00:00 app[web.1]: F, [2016-11-16T05:43:25.882382 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' 
2016-11-16T05:43:25.882493+00:00 app[web.1]: F, [2016-11-16T05:43:25.882436 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' 
2016-11-16T05:43:25.882555+00:00 app[web.1]: F, [2016-11-16T05:43:25.882490 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' 
2016-11-16T05:43:25.882578+00:00 app[web.1]: F, [2016-11-16T05:43:25.882534 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/engine.rb:522:in `call' 
2016-11-16T05:43:25.882624+00:00 app[web.1]: F, [2016-11-16T05:43:25.882580 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/configuration.rb:225:in `call' 
2016-11-16T05:43:25.882670+00:00 app[web.1]: F, [2016-11-16T05:43:25.882627 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/server.rb:578:in `handle_request' 
2016-11-16T05:43:25.882722+00:00 app[web.1]: F, [2016-11-16T05:43:25.882673 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/server.rb:415:in `process_client' 
2016-11-16T05:43:25.882794+00:00 app[web.1]: F, [2016-11-16T05:43:25.882742 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/server.rb:275:in `block in run' 
2016-11-16T05:43:25.882839+00:00 app[web.1]: F, [2016-11-16T05:43:25.882795 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/thread_pool.rb:116:in `call' 
2016-11-16T05:43:25.882903+00:00 app[web.1]: F, [2016-11-16T05:43:25.882841 #4] FATAL -- : [5521b7af-c909-4b91-b923-3a941e622bbd] vendor/bundle/ruby/2.2.0/gems/puma-3.6.0/lib/puma/thread_pool.rb:116:in `block in spawn_thread' 
+0

您可以尝试重新启动DYNOS –

+0

所有的第一次都可以添加,'宝石 “PG”'到宝石文件?另外,请将您的部署状态发布到heroku ... – 7urkm3n

+0

@ yurkm3n部署已成功 –

回答

0

运行gem install heroku

然后Heroku的添加到您的Gemfile和运行Bundle install

另外,不要忘了创建/迁移数据库。

heroku rake db:create 

heroku rake db:migrate