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 アップグレード奮闘記 〜mini〜
Search
みっきー
March 15, 2025
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby アップグレード奮闘記 〜mini〜
第1回TechBull x 若手ふんわり勉強部 合同LT&交流会
https://techbull.connpass.com/event/345494/
みっきー
March 15, 2025
More Decks by みっきー
See All by みっきー
生成AIを“おあずけ”された私
mikik0
0
1.2k
準備が今につながる
mikik0
0
1.7k
Ruby、一緒に成長しよう! ~ アップグレード奮闘記 ~
mikik0
1
180
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
280
The test code generator using static analysis and LLM
mikik0
1
2.3k
三井不動産主催ハッカソン
mikik0
2
190
HackU 2021 vol.1 「ねこくえすと」
mikik0
1
150
obnizで遊んでみた
mikik0
1
88
まだ読めてないけど良さげな書籍
mikik0
1
120
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Amusing Abliteration
ianozsvald
1
350
Everyday Curiosity
cassininazir
0
360
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
We Are The Robots
honzajavorek
0
400
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
500
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
New Earth Scene 8
popppiees
4
2.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Transcript
Ruby アップグレード奮闘記 〜mini〜 TechBull x 若手ふんわり勉強部 合同LT&交流会 みっきー
みっきー ファインディ株式会社 2024年7月入社 Findy Team+ バックエンド開発 shibuya.rb / TechBull
3月に初ランニングイベントに出場 : @mikiko_bridge
アップグレード手順 1. リリースノートを読む 2. 対応箇所の洗い出しを行う 3. 2. で洗い出したものを対応する 4.
アップグレードの PR作成 5. CIが通ることの確認 6. CIの修正 7. ステージング環境に反映し、動作を確認 8. リリース 公開2週間くらいから着手するよ
今回のアップグレードでは 2つの問題
1つ目: Datadog gem CIが起動せず、エラーが起きた
1つ目: Datadog gem 原因 - datadog gem(旧ddtrace gem)が1.x系だった - Ruby
3.4系に対応していなかった 解決法 - datadog gemを2系にアップグレードした - Gemfileを書き換えたのみ
2つ目: Kernel#system
2つ目: Kernel#system 目標: - 再現コード を用意すること - issueを立てること
None
Ruby 3.4.1 の結果 Ruby 3.3.6 の結果
https://bugs.ruby-lang.org/issues/21125
➡ その後、すぐに再オープンされました!
6. CIの修正 CI を通すための解決法💡 delegateを使わず、 system メソッドを作成
2025年1月30日 Ruby 3.4.1にアップグレード完了 🎉
まとめ - Bug issueを作る際には、誰でも再現できること が大切! - 再現コードとその結果 - 期待値 -
再現環境 - 周りを頼ろう! - チームの先輩エンジニア - プログラミングコミュニティ