我的应用程序在heroku中托管的rails上的ruby中出错

时间:2014-11-16 00:39:04

标签: ruby-on-rails heroku

寻求帮助。 我正在heroku中托管的rails上开发一个应用程序中的应用程序

我们很抱歉,但出了点问题。

如果您是应用程序所有者,请检查日志以获取更多信息。

这是我在heroku日志中得到的:

2014-11-16T00:34:45.183714+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-11-16T00:34:45.183727+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-11-16T00:34:45.183740+00:00 app[web.1]: 
2014-11-16T00:34:45.182107+00:00 app[web.1]: Started GET "/home/search?q=todas+las+ganas+y+mi+entusiasmo&entity_subtype=userpoint&entity_type=object&search_type=entities" for 188.165.15.198 at 2014-11-16 00:34:45 +0000
2014-11-16T00:34:45.183681+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-11-16T00:34:45.183694+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-11-16T00:34:45.183710+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-11-16T00:34:45.183723+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-11-16T00:34:45.183736+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-11-16T00:34:46.112900+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-11-16T00:34:46.112917+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'

我尝试在heroku中迁移数据库,但是我收到了这个错误:

运行rake db:migrate附加到终端...失败  ! Heroku客户端内部错误。  !在以下网址搜索帮助:https://help.heroku.com  !或者在https://github.com/heroku/heroku/issues/new

报告错误
Error:       connect timeout reached (Excon::Errors::Timeout)
Backtrace:   /Users/felipevelasquez/.heroku/client/vendor/gems/excon-0.40.0/lib/excon/ssl_socket.rb:124:in `rescue in initialize'
             /Users/felipevelasquez/.heroku/client/vendor/gems/excon-0.40.0/lib/excon/ssl_socket.rb:105:in `initialize'
             /Users/felipevelasquez/.heroku/client/vendor/gems/excon-0.40.0/lib/excon/connection.rb:380:in `new'
             /Users/felipevelasquez/.heroku/client/vendor/gems/excon-0.40.0/lib/excon/connection.rb:380:in `socket'
             /Users/felipevelasquez/.heroku/client/vendor/gems/excon-0.40.0/lib/excon/connection.rb:105:in `request_call'

我不知道如何识别heroku中的错误。 想法?

1 个答案:

答案 0 :(得分:0)

heroku run bundle 让你的依赖关系到位。