我正试图将修改推到我的heroku应用程序上,但过了一段时间,它就冻结了,错误也消失了。这可能与我在was服务器上使用美洲狮有关,但由于与我从websockets使用的框架plezi的不兼容性问题,我不得不删除它。我的应用程序总共是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
.
发布于 2016-01-05 12:57:33
为了解决这个问题,需要在Rakefile
中添加
require 'plezi/rake'
这将解决普雷兹/Rails在推到Heroku时不兼容的问题。
发布于 2016-01-05 08:20:58
如响应中所包含的,错误为
超时编译Ruby应用程序(15分钟)远程:!请参阅https://devcenter.heroku.com/articles/slug-compiler#time-limit
您可能需要检查引用的链接,并确定为什么部署该应用程序需要超过15分钟。
https://stackoverflow.com/questions/34616120
复制