在Heroku中自定义的zip包 [英] Custom buildpack for zip in Heroku
本文介绍了在Heroku中自定义的zip包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Heroku中使用 zip
系统命令,但它不可用。我不明白如何自己写一个自定义的buildpack。有人可以请我指向一个现有的buildpack for zip
或为我写一个新的?在这个线程中,John Beynon写了一个 custom buildpack wget
命令。
I would like to use the zip
system command in Heroku, but it is not available. I don't understand how to write a custom buildpack by myself. Could someone please point me to an existing buildpack for zip
or write a new one for me? In this thread, John Beynon wrote a custom buildpack for the wget
command.
推荐答案
使用纯红宝石可以做到压缩,上个星期我自己使用 https://github.com/aussiegeek/rubyzip
Zipping you can do with pure ruby, I did it myself last week to zip a folder recursively using https://github.com/aussiegeek/rubyzip
这篇关于在Heroku中自定义的zip包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文