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
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
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
110
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
540
ニーリーにおけるプロダクトエンジニア
nealle
0
790
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
110
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
210
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
730
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
610
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
16
11k
A2A プロトコルを試してみる
azukiazusa1
2
1.3k
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
250
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.5k
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
270
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Become a Pro
speakerdeck
PRO
28
5.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Statistics for Hackers
jakevdp
799
220k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Making Projects Easy
brettharned
116
6.3k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Balancing Empowerment & Direction
lara
1
420
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
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