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
Gemcutting 101
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tdumitrescu
January 14, 2014
Programming
0
390
Gemcutting 101
An overview of the steps to making and publishing your own Ruby gem
tdumitrescu
January 14, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
130
「ブロックテーマでは再現できない」は本当か?
inc2734
0
890
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.5k
今から始めるClaude Code超入門
448jp
8
8.6k
組織で育むオブザーバビリティ
ryota_hnk
0
170
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
CSC307 Lecture 09
javiergs
PRO
1
830
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1k
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
527
40k
What's in a price? How to price your products and services
michaelherold
247
13k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Rails Girls Zürich Keynote
gr2m
96
14k
We Have a Design System, Now What?
morganepeng
54
8k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
98
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Transcript
carvin’ it out: basics of gemcutting ted dumitrescu signal creative
[email protected]
http://cmme.org/tdumitrescu http://github.com/tdumitrescu http://signalcreative.co
three beautiful steps ¡ extracting ¡ testing ¡ publishing ted dumitrescu: basics of
gemcutting | http://cmme.org/tdumitrescu
extracting ¡ write the code before making the gem sample repo:
https://github.com/tdumitrescu/gemex ¡ bootstrap the project: http://bundler.io/v1.5/bundle_gem.html bundle gem old_yeller ¡ edit gemspec ¡ code in lib/ ted dumitrescu: basics of gemcutting | http://cmme.org/tdumitrescu
testing ¡ automated testing! ¡ with rspec: .gemspec: spec.add_development_dependency "rspec", "~> 2.14"
bundle bundle exec rspec --init spec/old_yeller_spec.rb bundle exec rspec" ¡ manual testing: loading local gems Gemfile: gem "old_yeller", path: [path to gem] ted dumitrescu: basics of gemcutting | http://cmme.org/tdumitrescu
publishing ¡ on rubygems: http://guides.rubygems.org/make-your-own-gem/ ¡ build gem locally: gem build old_yeller.gemspec"
¡ push to rubygems: gem push old_yeller-0.0.1.gem ¡ don’t forget to publish the code (try Github!) ted dumitrescu: basics of gemcutting | http://cmme.org/tdumitrescu
some further topics ¡ versioning ¡ configuration patterns ¡ using datastores and complex
services ¡ integration with Rails (engines) ¡ personal examples: https://github.com/tdumitrescu/feature_guard https://github.com/lumoslabs/scripterator ted dumitrescu: basics of gemcutting | http://cmme.org/tdumitrescu