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
270
encoding/csv
pinzolo
0
710
Redmine 3.x
pinzolo
0
3.8k
Travis CI API LT
pinzolo
1
950
Tenderness driven development for Redmine plugin
pinzolo
1
4.8k
Other Decks in Programming
See All in Programming
テストコード書いてみませんか?
onopon
2
250
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
910
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
290
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
120
Spatial Rendering for Apple Vision Pro
warrenm
0
270
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
560
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
530
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.1k
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
120
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
780
KubeCon NA 2024の全DB関連セッションを紹介
nnaka2992
0
100
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
140
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Raft: Consensus for Rubyists
vanstee
137
6.7k
GraphQLとの向き合い方2022年版
quramy
44
13k
A designer walks into a library…
pauljervisheath
205
24k
Adopting Sorbet at Scale
ufuk
74
9.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
4 Signs Your Business is Dying
shpigford
182
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
530
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
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!