我有一个带有两个遥控器的 heroku 应用程序:登台和生产。到目前为止,我对此没有任何问题。
今天我已成功推送到我的生产应用程序,但在尝试推送/获取我的暂存应用程序时出现以下错误。
! Heroku Git error, please try again shortly.
! See http://status.heroku.com for current Heroku platform status.
! If the problem persists, please contact http://support.heroku.com.
fatal: The remote end hung up unexpectedly
登台应用程序工作正常。它响应请求,我可以成功地做一些事情heroku run console --remote=staging
。
我尝试git push -f staging master
并得到了同样的错误。我所有的 heroku 应用程序都在运行,但由于某种原因,我无法推送到这个登台应用程序。
这是我跑步时得到的heroku run rake about --remote=staging
About your application's environment
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.4
Rails version 3.2.8
Active Record version 3.2.8
Action Pack version 3.2.8
Active Resource version 3.2.8
Action Mailer version 3.2.8
Active Support version 3.2.8
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, Rack::Auth::Basic, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000003adf3b0>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, Warden::Manager
Application root /app
Environment staging
Database schema version 20120922013103