贾米特Heroku 上的延迟工作
我刚刚将 Delayed_job 添加到 Heroku 上的应用程序中。本地一切工作正常,但推送到 Heroku 后就停止了。 rake 作业工作线程似乎正在崩溃,并为 Jammit 提供此错误:
==> dj-3625324.log (crash) <==
(in /disk1/home/slugs/352624_647fcb1_cd2f-0ad62d88-55e5-45dd-81ff-560f42525b6e/mnt)
Jammit Warning: Asset compression disabled -- Java unavailable.
rake aborted!
Broken pipe
/disk1/home/slugs/352624_647fcb1_cd2f-0ad62d88-55e5-45dd-81ff-560f42525b6e/mnt/Rakefile:8
(See full trace by running task with --trace)
-----> Your application crashed.
Examine the backtrace above this message to debug.
如何调试此类问题来解决?
谢谢
I just added delayed_job to my app on Heroku. Everything was working fine locally but that stopped after pushing to Heroku. The rake job worker appears to be crashing and gives this error for Jammit:
==> dj-3625324.log (crash) <==
(in /disk1/home/slugs/352624_647fcb1_cd2f-0ad62d88-55e5-45dd-81ff-560f42525b6e/mnt)
Jammit Warning: Asset compression disabled -- Java unavailable.
rake aborted!
Broken pipe
/disk1/home/slugs/352624_647fcb1_cd2f-0ad62d88-55e5-45dd-81ff-560f42525b6e/mnt/Rakefile:8
(See full trace by running task with --trace)
-----> Your application crashed.
Examine the backtrace above this message to debug.
How do you debug an issue like this to resolve?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能想看看这个线程有关在 Heroku 上使用 Jammit。
Might want to look at this thread regarding using Jammit on Heroku.