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
Gemfile.local
Search
pinzolo
July 26, 2014
Programming
150
0
Share
Gemfile.local
Gemfile.local is useful in ruby development.
pinzolo
July 26, 2014
More Decks by pinzolo
See All by pinzolo
rubygems-mfa.pdf
pinzolo
0
140
github.com/pinzolo/sqlt
pinzolo
1
320
encoding/csv
pinzolo
0
780
Redmine 3.x
pinzolo
0
3.9k
Travis CI API LT
pinzolo
1
1.1k
Tenderness driven development for Redmine plugin
pinzolo
1
5k
Other Decks in Programming
See All in Programming
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
490
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
270
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
3
460
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
170
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.2k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
210
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
2
1k
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
11
3.1k
初めてのRubyKaigiはこう見えた
jellyfish700
0
360
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Paper Plane
katiecoart
PRO
1
50k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
940
The Cult of Friendly URLs
andyhume
79
6.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
74k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
The Curse of the Amulet
leimatthew05
1
13k
Speed Design
sergeychernyshev
33
1.8k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
390
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
710
Transcript
Gemfile.local
ࣗݾհ 4 ా ਓ 4 גࣜձࣾ ۭ 4 Engineer 4
@pinzolo 4 https://github.com/pinzolo
ڞ௨ʁ 4 pry 4 pry-byebug 4 better_errors 4 rails-flog etc.
ڞ௨ʁ 4 pry 4 pry-byebug 4 better_errors 4 rails-flog →
σόοά࣌ʹ༻͢Δ gem
ڞ௨ʁ 4 pry 4 pry-byebug 4 better_errors 4 rails-flog →
σόοά࣌ʹ༻͢Δ gem → ςετʹඞཁͰͳ͍
4 CI ࣌ʹ༻͠ͳ͍ gem Λμϯϩʔυ͠ɺಡΈࠐΜͰ͠ ·͏
4 CI ࣌ʹ༻͠ͳ͍ gem Λμϯϩʔυ͠ɺಡΈࠐΜͰ͠ ·͏ 4 ͏͔ͬΓ binding.pry
Λͨ͠·· push ͢Δͱςετ͕ ࢭ·ͬͯ͠·͏
4 CI ࣌ʹ༻͠ͳ͍ gem Λμϯϩʔυ͠ɺಡΈࠐΜͰ͠ ·͏ 4 ͏͔ͬΓ binding.pry
Λͨ͠·· push ͢Δͱςετ͕ ࢭ·ͬͯ͠·͏ 4 ։ൃऀશһʹࣗͷσόοάπʔϧΛԡ͚ͯ͠͠·͏
ͦ͜Ͱ Gemfile.local
Gemfile source 'https://rubygems.org' gem 'rails' # some gems group :development,
:test do gem 'rspec' gem 'rspec-rails' # some gems end local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local') instance_eval File.read(local_gemfile) if File.exist?(local_gemfile)
Gemfile.local group :development, :test do gem 'pry' gem 'pry-rails' gem
'pry-byebug' gem 'better_errors' gem 'rails-flog' # some gems for debug end
Make me happy! 4 CI ࣌ʹ७ਮʹ༻͢Δ gem ͚͕ͩμϯϩʔυ͞ΕΔ 4 binding.pry
Λ͍ͯͯ͠Τϥʔు͍ͯଈऴྃ 4 ֤͖ࣗͳσόοάπʔϧΛ͑Δ
ຊ ͬͱεϚʔτͳΓํ͕͋ΔΜ͡Όͳ͍͔ʁ Bundler ͷػೳͱ͔ϓϥάΠϯͰ͢Ͱʹ͋ΔΜ͡Όͳ͍͔ʁ ΈΜͳͲ͏͍ͯ͠Δ͔ੋඇڭ͑ͯԼ͍͞
Thank you!