【问题标题】:Cannot deploy rails 3.0/datamapper on heroku cedar无法在 heroku cedar 上部署 rails 3.0/datamapper
【发布时间】:2011-09-13 09:15:53
【问题描述】:

我正在尝试在 heroku cedar 上部署一个新的 rails 3.0/datamapper 应用程序。

尽管我可以运行控制台并成功执行“app.get ''”,但每个请求都会在日志中给出以下错误且没有回溯:

2011-06-12T11:31:04+00:00 heroku[router]: Error H10 (App crashed) -> GET empty-samurai-701.herokuapp.com/ dyno= queue= wait= service= bytes=

我注意到可能与我的问题相关或无关的一件奇怪的事情是我需要运行

heroku run script/rails console

而不是

heroku run console

【问题讨论】:

    标签: ruby-on-rails-3 deployment heroku datamapper


    【解决方案1】:

    这仅仅是因为我没有将 rails gem 添加到我的 Gemfile 中。

    【讨论】:

      猜你喜欢
      • 2012-04-29
      • 1970-01-01
      • 2011-12-25
      • 1970-01-01
      • 1970-01-01
      • 2011-12-26
      • 1970-01-01
      • 1970-01-01
      • 2017-02-02
      相关资源
      最近更新 更多