heroku 如何部署 rails4项目

按照网上给的教程,一步步执行 1. heroku login 2. heroku create 3. git psuh heroku master

都顺利完成了,结果访问页面还是提示:

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

rails 里面我就创建了一个controller -> action 平且设定路由了。 database.yml 和gemfile 里面都修改为 pg 了。

阅读 5.4k
3 个回答
新手上路,请多包涵

查看下heroku的logs

heroku logs -t
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进