簡體   English   中英

無法推送到Heroku推送被拒絕

[英]Can't push to Heroku Push rejected

我正在嘗試將更改推送到我的heroku應用程序,但過一會兒它凍結並出現錯誤。 可能與以下事實有關:我正在將puma用於Web服務器,但是由於plezi(我從websockets使用的框架)的不兼容問題,不得不將其刪除。 我的應用程序總計為4mb。

我收到此錯誤消息:

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進行的設置是,它在rails中創建了一個迷你應用程序。 它創建一個文件夾,在我的情況下為appname\\ ,其中包含它自己的Gemfile,Procfile和appname.rb

|
|-- app\
|-- appname\
|-- bin\
.
. and so on
.

如響應中所包含,錯誤為

遠程編譯Ruby應用程序超時(15分鍾):! 參見https://devcenter.heroku.com/articles/slug-compiler#time-limit

您可能需要檢查引用的鏈接,並確定為什么花超過15分鍾的時間來部署該應用程序。

要解決此問題,需要將其添加到Rakefile

require 'plezi/rake'

推送到Heroku時,這將解決Plezi / Rails不兼容的問題

http://www.plezi.io/docs/rake

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM