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.2k
三井不動産主催ハッカソン
mikik0
2
190
HackU 2021 vol.1 「ねこくえすと」
mikik0
1
140
obnizで遊んでみた
mikik0
1
81
まだ読めてないけど良さげな書籍
mikik0
1
120
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
420
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Optimising Largest Contentful Paint
csswizardry
37
4k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Utilizing Notion as your number one productivity tool
mfonobong
4
590
Side Projects
sachag
456
43k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
470
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
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を作る際には、誰でも再現できること が大切! - 再現コードとその結果 - 期待値 -
再現環境 - 周りを頼ろう! - チームの先輩エンジニア - プログラミングコミュニティ