Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
gem version up
Search
takakuda
July 30, 2019
Programming
2.3k
0
Share
gem version up
takakuda
July 30, 2019
More Decks by takakuda
See All by takakuda
パフォーマンス改善
takakuda
0
160
リファクタリング
takakuda
0
48
ぼくらのかんがえたさいきょうのfactory_bot
takakuda
0
2.7k
LINE, Messenger比べてみました。
takakuda
0
1.4k
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
360
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
640
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
140
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
140
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
書き換えて学ぶTemporal #fukts
pirosikick
2
350
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
650
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
110
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
480
20260514_its_the_context_window_stupid.pdf
heita
0
140
AI-DLC Deep Dive
yuukiyo
9
5.5k
The Less-Told Story of Socket Timeouts
coe401_
3
950
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
900
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
160
Docker and Python
trallard
47
3.8k
[SF Ruby Conf 2025] Rails X
palkan
2
1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
500
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Skip the Path - Find Your Career Trail
mkilby
1
110
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!!