#303 Publishing a Gem pro
Nov 28, 2011 | 11 minutes | Tools
In this second part on making a gem, you will learn how to publish a gem by releasing it to rubygems.org, testing it through Travis CI, documenting it on RubyDoc.info, and advertising it on various sites.
- source codeProject Files in Zip (8.6 KB)
- mp4Full Size H.264 Video (35.7 MB)
- m4vSmaller H.264 Video (15.6 MB)
- webmFull Size VP8 Video (16.1 MB)
- ogvFull Size Theora Video (38.9 MB)
Impressive job! Keep up the good work :)
Thanks for this Ryan.
In your 'how I test' presentation, you use factory_girl_rails and guard-respec. Where do they belong in this setup? The Gemfile refers to the gemspec file, so should they go in the gem spec file? And can you use instructions like ,
:require => false if RUBY_PLATFORM =~ /darwin/i
Thanks for sharing this. It was really timely and helpful, as is often the case.
One thing to point about about using the :git repo notation in your Gemfile: it's usually not a great idea to do this if you don't control the repo. Since the rubygems service controls versioning more tightly, you can bet that when new code is released, the version will bump. However, the same cannot be said for master branches on github, which could lead to nasty surprises when you bundle install.
Thanks for this great video. I published my first gem after watching this video.
Thanks Ryan. Your videos are amazing! I also published my first gem called API Key Maker. Check it out at RubyGems.org.
Great episode, was really useful, I published my first gem named Milo, it is a wrapper for the eBay Milo API. Thanks Ryan.
This is so irritating. I can find anything on this website. No fan-club registration info anywhere.