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
140
obnizで遊んでみた
mikik0
1
87
まだ読めてないけど良さげな書籍
mikik0
1
120
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
GitHub's CSS Performance
jonrohan
1033
470k
Chasing Engaging Ingredients in Design
codingconduct
0
350
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Thoughts on Productivity
jonyablonski
76
5.4k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Exploring anti-patterns in Rails
aemeredith
4
530
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
580
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
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を作る際には、誰でも再現できること が大切! - 再現コードとその結果 - 期待値 -
再現環境 - 周りを頼ろう! - チームの先輩エンジニア - プログラミングコミュニティ