Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
64
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
Transcript
13 slides
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
More Decks by Kazuhiro NISHIYAMA
See All by Kazuhiro NISHIYAMA
Reforming the Japanese Ruby reference manual
znz
0
45
Headscale + Tailscale に移行中
znz
0
110
Ruby on Rails と私
znz
0
110
riscv64.rubyci.org internal
znz
0
75
Rubyの日本語リファレンスマニュアルの現在と未来
znz
0
140
devise-two-factorを4.xから5.xに上げた話
znz
0
490
docs.ruby-lang.org/ja/ の生成方法を変えた
znz
0
140
Ubuntuのriscv64版をqemuで動かした
znz
0
170
lilo.linux.or.jpをbusterからbullseyeに上げた
znz
0
180
Other Decks in Programming
See All in Programming
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
130
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
330
Spec-driven Development with AI
simas
PRO
0
2.3k
LLM 101
dalinaum
0
530
Skills Are the New npm [AAIF Bengaluru]
shivamsaraswat
0
120
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
0
190
SODA - FACT BOOK(JP)
sodainc
1
40k
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
110
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
400
Distance field of Julia set
kinakomoti321
0
330
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1.1k
Agile that works and the tools we love
rasmusluckow
331
22k
Claude Code のすすめ
schroneko
67
230k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k