{"published":"2008-01-20 00:00:00","categories":["dev","ruby"],"blog_url":"https://yzn.hatenadiary.org/","provider_name":"Hatena Blog","title":"zip\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210","width":"100%","blog_title":"yzn\u2019s memo","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyzn.hatenadiary.org%2Fentry%2F20080120%2Fp2\" title=\"zip\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210 - yzn\u2019s memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://yzn.hatenadiary.org/entry/20080120/p2","type":"rich","height":"190","version":"1.0","provider_url":"https://hatena.blog","description":"rubyzip \u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u306e\u3067\u305d\u308c\u3092\u4f7f\u7528\u3057\u305f\u3002http://x.jeez.jp/archives/date/2008/01/14 \u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002 \u307e\u305a\u306f rubyzip \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb wget http://downloads.sourceforge.net/rubyzip/rubyzip-0.9.1.tgz tar zxvf rubyzip-0.9.1.tgz cd rubyzip-0.9.1 ruby install.rb zip\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210(\u30d5\u30a1\u30a4\u30eb\u5727\u7e2e) # filename \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u3001 Zip::ZipFile.open(fileName, Zip::Z\u2026","author_url":"https://blog.hatena.ne.jp/yzn/","author_name":"yzn"}