Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rubyの配布パッケージの変遷
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kazuhiro NISHIYAMA
May 22, 2026
Programming
32
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubyの配布パッケージの変遷
[第91回 Ruby関西 勉強会](
https://rubykansai.doorkeeper.jp/events/196870)での発表資料です
。
Kazuhiro NISHIYAMA
May 22, 2026
More Decks by Kazuhiro NISHIYAMA
See All by Kazuhiro NISHIYAMA
Headscale + Tailscale に移行中
znz
0
73
Ruby on Rails と私
znz
0
80
riscv64.rubyci.org internal
znz
0
59
Rubyの日本語リファレンスマニュアルの現在と未来
znz
0
120
devise-two-factorを4.xから5.xに上げた話
znz
0
430
docs.ruby-lang.org/ja/ の生成方法を変えた
znz
0
120
Ubuntuのriscv64版をqemuで動かした
znz
0
150
lilo.linux.or.jpをbusterからbullseyeに上げた
znz
0
150
小規模個人アプリをRails 7.xにバージョンアップした話
znz
0
140
Other Decks in Programming
See All in Programming
技術記事、 専門家としてのプログラマ、 言語化
mizchi
14
7.5k
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
140
5分で問診!Composer セキュリティ健康診断
codmoninc
0
380
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
470
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
340
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
320
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
280
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
130
継続モナドとリアクティブプログラミング
yukikurage
3
610
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
350
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Embracing the Ebb and Flow
colly
88
5.1k
Bash Introduction
62gerente
615
220k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
190
Believing is Seeing
oripsolob
1
170
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
600
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Making the Leap to Tech Lead
cromwellryan
135
10k
Transcript
Rubyの配布パッケージの変遷 Kazuhiro NISHIYAMA 株式会社Ruby開発 2026-05-22 Powered by Rabbit 4.0.1
self.introduction 西山 和広 github など: @znz Ruby のコミッター 1/12
Rubyの配布パッケージとは? 今回の話では https://cache.ruby-lang.org/pub/ruby/ で配布され ている tar.gz などのアーカイブファイルのこと https://www.ruby-lang.org/en/news/ でのアナウンスで正式リ リース
アナウンス前にファイルが見えても変わる可能性あり 今は3形式 tar.gz tar.xz zip 2/12
最初は tar.gz だけ matz がリリースしていた頃からの慣習で昔は tar.gz のみ 2007-03-13 1.8.6 で
tar.bz2 と zip が増えた tar.bz2 : サイズが小さいので帯域節約のため tar.gz, zip : 利便性のため 詳細は [ruby-dev:30562] あたりのスレッドを参照 https://blade.ruby-lang.org/ruby-dev/30562 3/12
tool/make-snapshot 2007-12-26 1.9.0-0 の前あたりからアーカイブ作成が tool/ make-snapshot というスクリプト化 4/12
小ネタ zip の作成に 7z があれば優先して使うようにした zip コマンドより 7z の方が圧縮率が良かったため 5/12
tar.xz 対応追加 IRC で tar.xz の方が小さいのであると良さそうという話が何度 か出ていた ここで 1.8 非対応になりつつ
xz 対応 直接のきっかけのやりとりはみつからず commit 944ff17f8a64092c80131afe2d0ce467b3cacce4 Author: Nobuyoshi Nakada <nobu@...> Date: Tue May 13 10:09:41 2014 +0000 make-snapshot: support xz * tool/make-snapshot (package): support xz. no longer runs with 1.8 or earlier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 6/12
tar.xz リリース リリースパッケージとしては以下から 2014-09-19 2.0.0-p576 (from ruby_2_0_0) 2014-09-19 2.1.3 (from
ruby_2_1) 2014-10-27 1.9.3-p550 (from ruby_1_9_3) (ruby 2.2 は最初から) (cache.ruby-lang.org は 2015-07-25 になってしまっていたので、 日付は https://gist.github.com/unak/3038095 から) 7/12
tar.bz2 削除 それぞれの形式の目的 tar.bz2, tar.xz : サイズが小さいので帯域節約のため tar.gz, zip :
利便性のため bz2 より xz の方がサイズが小さく展開も速い xz はまだ (当時) 標準でインストールされていない Linux 環境もあった 互換性しか残す理由がない 8/12
3.0 から tar.bz2 なし How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483 で提案して 2020-12-08 3.0.0-preview2 から tar.bz2 なし preview1 には間に合わなかった 9/12
bz2 削除対応 https://github.com/ruby/actions のアーカイブ作成の GitHub Action での対応 バージョンをみて tar.bz2 を除外するオプションを
tool/make-snapshot に 指定 https://github.com/rbenv/ruby-build などの外部への影響もあった 10/12
最近の追加対応 アーカイブ作成の GitHub Action が https://github.com/ruby/ruby に移植された tar.bz2 対応が残っていたが今は 3.3
以降のみサポートなので不要 対応コードを削除 11/12
まとめ Ruby のリリースアーカイブ形式 tar.gz のみ → tar.bz2, zip 追加 →
tar.xz 追加 → tar.bz2 削除 追加は簡単 削除は大変 関係者との調整 影響範囲の考慮 tar.zst (Zstandard) の追加はどうかなと思ったことがあるけど、 削除の大変さを考えると気軽に追加提案はできなくなってし まった (圧縮率も xz を置き換えるほどではない) 12/12 Powered by Rabbit 4.0.1