我試圖推動對我的heroku應用程序的更改,但一段時間後它凍結和出錯。可能與我使用puma for web服務器的事實有關,但是由於與plezi的兼容性問題(我從websockets使用的框架)不兼容問題,我必須將其刪除。我的應用程序共有4MB。無法推送到Heroku推送拒絕
我收到此錯誤信息:
remote: ! Timed out compiling Ruby app (15 minutes)
remote: ! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to my-app-3605.
remote:
To https://git.heroku.com/my-app-3605.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/my-app-3605.git'
的設置我有plezi,是它創造的軌道內的迷你應用程序。它創建了一個文件夾,包含它是我的情況下appname\
自己的Gemfile,Procfile和appname.rb
|
|-- app\
|-- appname\
|-- bin\
.
. and so on
.
時添加到
Rakefile
require 'plezi/rake'
這將解決Plezi/Rails的不兼容,但它似乎在暗示,問題發生在大型應用程序上,但它有4MB而不是300MB – tvieira
如果你有一個在c觸發的無限循環,它甚至可能發生在3Kb應用程序中或者如果您依賴導致HTTP連接永久掛起的外部資源。 –
我編輯了我的問題以提供額外的上下文,因爲heroku文檔沒有給我提供答案,我在rails中使用plezi應用程序,它有它自己的Gemfile,Procfile – tvieira