Rails 4应用程序不会出现在Heroku上

时间:2015-07-06 21:43:30

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

我有一个运行rails 4.2的rails应用程序,ruby 2.2.2。应用程序在Dev中运行良好。但是当我上传到heroku时,我得到了这个。它正在使用Heroku,然后我在应用程序中添加了一些页面,现在我得到了这个。另外,为什么heroku服务器似乎按照我的Procfile启动Puma服务器,然后使用WEBrick?

@invitation.person_two

1 个答案:

答案 0 :(得分:0)

好像你已经遗漏了Puma需要启动的代码,因此Heroku默认为webrick。请仔细阅读此链接 https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server