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
100
github.com/pinzolo/sqlt
pinzolo
1
280
encoding/csv
pinzolo
0
720
Redmine 3.x
pinzolo
0
3.8k
Travis CI API LT
pinzolo
1
960
Tenderness driven development for Redmine plugin
pinzolo
1
4.8k
Other Decks in Programming
See All in Programming
チームリードになって変わったこと
isaka1022
0
200
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
220
Pulsar2 を雰囲気で使ってみよう
anoken
0
240
Ruby on cygwin 2025-02
fd0
0
140
SRE、開発、QAが協業して挑んだリリースプロセス改革@SRE Kaigi 2025
nealle
3
4.3k
昭和の職場からアジャイルの世界へ
kumagoro95
1
370
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
130
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.4k
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
160
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
ASP. NET CoreにおけるWebAPIの最新情報
tomokusaba
0
370
Featured
See All Featured
Done Done
chrislema
182
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Code Reviewing Like a Champion
maltzj
521
39k
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!