2013-01-03 108 views
0

我一直在尝试部署我的第一个Heroku应用程序,但问题后仍然遇到问题。我将继续并粘贴我遇到的错误代码。尝试运行Heroku应用程序时出错

在heroku.open:

Opening secure-reef-1182... failed ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error: undefined method licenses=' for #<Gem::Specification name=multi_json >version=1.5.0> (NoMethodError) Backtrace: /usr/local/lib/site_ruby/1.9.1/rubygems/source_index.rb:74:in eval' /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:388:in

Version: heroku-toolbelt/2.33.5 (x86_64-linux) ruby/1.9.3

在heroku.ps

=== web: bundle exec rails server -p $PORT web.1: crashed 2013/01/02 21:07:51 (~ 4m ago)

在我heroku.logs我得到这些类型的错误消息

at=error code=H10 desc="App crashed" method=GET path=/ host=secure-reef-1182.herokuapp.com >fwd=50.134.210.222 dyno= queue= wait= connect= service= status=503 bytes=

+0

你有没有其他的日志? H10表明你的应用程序崩溃了 - 你的应用程序是否会抛出其他异常?它在本地运行吗? –

回答

0

"A crashed web process or a boot timeout on the web process will present this error."

  • 确保首先在开发环境 中测试所有内容。
  • 如果您的应用程序在本地运行,请检查需要在heroku中设置的全局配置。
相关问题