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
66
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
50
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
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
170
R言語プログラミング
profjoesuzuki
0
130
高速開発を止めずに 性能を上げる Flyleのシステム刷新と改善の歴史
azihsoyn
0
110
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
1.3k
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
130
はじめてのPLATEAU
nokonoko1203
1
680
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
3
1.2k
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
180
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
140
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.6k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
Marketing to machines
jonoalderson
1
6k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
GitHub's CSS Performance
jonrohan
1033
470k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Designing for Performance
lara
612
70k
The Limits of Empathy - UXLibs8
cassininazir
2
800