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
0
130
Gemfile.local
Gemfile.local is useful in ruby development.
pinzolo
July 26, 2014
Tweet
Share
More Decks by pinzolo
See All by pinzolo
rubygems-mfa.pdf
pinzolo
0
98
github.com/pinzolo/sqlt
pinzolo
1
260
encoding/csv
pinzolo
0
700
Redmine 3.x
pinzolo
0
3.8k
Travis CI API LT
pinzolo
1
930
Tenderness driven development for Redmine plugin
pinzolo
1
4.8k
Other Decks in Programming
See All in Programming
Piniaの現状と今後
waka292
5
1.5k
リリース8年目のサービスの1800個のERBファイルをViewComponentに移行した方法とその結果
katty0324
5
3.6k
Outline View in SwiftUI
1024jp
1
170
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
推し活の ハイトラフィックに立ち向かう Railsとアーキテクチャ - Kaigi on Rails 2024
falcon8823
6
2.3k
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
230
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
23k
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
490
JaSST 24 九州:ワークショップ(は除く)実践!マインドマップを活用したソフトウェアテスト+活用事例
satohiroyuki
0
270
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
3.1k
Progressive Web Apps für Desktop und Mobile mit Angular (Hands-on)
christianliebel
PRO
0
110
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
11
2.3k
Featured
See All Featured
KATA
mclloyd
29
13k
Designing for Performance
lara
604
68k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Ruby is Unlike a Banana
tanoku
96
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
Six Lessons from altMBA
skipperchong
26
3.5k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Practical Orchestrator
shlominoach
186
10k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
Making Projects Easy
brettharned
115
5.9k
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!