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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
Patterns of Patterns
denyspoltorak
0
1.4k
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
560
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
190
高速開発のためのコード整理術
sutetotanuki
1
400
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
AgentCoreとHuman in the Loop
har1101
5
230
AtCoder Conference 2025
shindannin
0
1.1k
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
What's in a price? How to price your products and services
michaelherold
247
13k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Practical Orchestrator
shlominoach
191
11k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
A Tale of Four Properties
chriscoyier
162
24k
Automating Front-end Workflow
addyosmani
1371
200k
Optimizing for Happiness
mojombo
379
71k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
ラッコキーワード サービス紹介資料
rakko
1
2.3M
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