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
gem version up
Search
takakuda
July 30, 2019
Programming
2.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
gem version up
takakuda
July 30, 2019
More Decks by takakuda
See All by takakuda
パフォーマンス改善
takakuda
0
160
リファクタリング
takakuda
0
54
ぼくらのかんがえたさいきょうのfactory_bot
takakuda
0
2.7k
LINE, Messenger比べてみました。
takakuda
0
1.4k
Other Decks in Programming
See All in Programming
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.6k
Verilogで学ぶCPU自作入門.pdf
uyuki234
8
3.7k
FreeBSDでZabbixを動かす
kenkino
0
340
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
560
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
390
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
260
Workers Cache を知る
syumai
0
310
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
680
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
180
スマート反転とウェブアクセシビリティ
camiha
0
220
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2k
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
170
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Odyssey Design
rkendrick25
PRO
2
830
WCS-LA-2024
lcolladotor
0
840
Un-Boring Meetings
codingconduct
0
430
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Building Adaptive Systems
keathley
44
3.2k
Transcript
ZEALS Co.,Ltd なんでgemのversion upをやらなきゃい けないのか? gem version up テクノロジー開発部 takakuda
前職:雛人形売り - Ruby - Rails ZEALS Rails Engineer takakuda :takakuda
: @kutaike1504
fanpの紹介
Ruby/Rails/gem version up
今日話すこと - gem version up体制 - 本当にあったversion upの怖い話 - まとめ
gem version up体制
- 週1で5プルリク作成 - 担当者アサイン
None
本当にあったversion upの怖い話
テスト環境用のgemなので脳死でupdateできるかと 思ったら、RSpecが失敗する
存在している…と想定しているカラムでNil Error…
shoulda-matchersを Rails5系に対応した versionにupしたらテ ストが失敗した
belongs_to の存在確認でエラー発生 Rails5.1からdefaultでrequired: trueのはず…
次々と見つかる謎のRSpecコメントアウト
config.load_defaultsが書かれていなかった…
引数にRailsのversionを指定し、 指定したversionで推奨される挙動へ設定する
Rails 5.1のdefaultが 反映されていない Rails 5.1
気づけた理由
- RSpecちゃんと通してれば… - Railsガイドちゃんと読んでれば… - などなど…
- gem updateしとけば…
v4.0.0でRails5系をサポート belongs_to マッチャが存在確 認をしてくれるようになった
まとめ
gem updateは applicationの健康診断
あなたのRails本当に そのversionですか?
None
Thank you!!