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
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
170
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
280
CSC307 Lecture 02
javiergs
PRO
1
780
SourceGeneratorのススメ
htkym
0
190
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
AI巻き込み型コードレビューのススメ
nealle
1
210
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
590
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
230
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
730
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
210
Implementation Patterns
denyspoltorak
0
280
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Claude Code のすすめ
schroneko
67
210k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
New Earth Scene 8
popppiees
1
1.5k
Faster Mobile Websites
deanohume
310
31k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How GitHub (no longer) Works
holman
316
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Facilitating Awesome Meetings
lara
57
6.8k
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