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
120
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
88
github.com/pinzolo/sqlt
pinzolo
1
260
encoding/csv
pinzolo
0
620
Redmine 3.x
pinzolo
0
3.8k
Travis CI API LT
pinzolo
1
850
Tenderness driven development for Redmine plugin
pinzolo
1
4.7k
Other Decks in Programming
See All in Programming
try! Swift Tokyo 初参加報告LT
hinakko2
0
210
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
170
Ruby GitHub Packages
bkuhlmann
0
630
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
Semantic search with Django and pgvector
pauloxnet
0
240
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
使ってみよう Azure AI Document Intelligence
kosmosebi
2
280
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
8.2k
ONE WEDGE_company_guide
1wedge_one
0
450
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Music & Morning Musume
bryan
41
5.6k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
A designer walks into a library…
pauljervisheath
200
23k
Become a Pro
speakerdeck
PRO
11
4.5k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Making Projects Easy
brettharned
108
5.5k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Happy Clients
brianwarren
92
6.4k
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!