【发布时间】:2012-10-04 20:21:25
【问题描述】:
在部署站点时,我是一个完全的新手,请原谅这个问题的含糊之处。
我已按照 ryan bates 第 337 集 (https://github.com/railscasts/337-capistrano-recipes) 部署我的 Rails 应用程序。我正在使用带有 postgres 的 ubuntu 10.04 lts、nginx、unicorn 和 capistrano。
在 cap deploy 之后:cold 一切似乎都很好。
但是当我点击我的 ip 时,我的 rails 应用程序给了我这个错误:
We're sorry, but something went wrong.
我知道这不是一个很有帮助的错误消息。我认为它与数据库有关,因为我之前在使用 postgresql 在 heroku 上部署时见过它。
我不知道如何在 linode 服务器上检查我的日志文件并获取有关如何调试的更多信息。
非常感谢任何指导。
提前谢谢大家。
【问题讨论】:
标签: ruby-on-rails capistrano postgresql-9.1 unicorn linode