I just published my first ruby “gem.” It’s a “gemified” version of the column width generator module, now available on rubygems.org:
And here’s the github page:
A ruby gem is a kind of plugin for ruby apps. You post your gem to a hosting site from which others can get the code, plug it into their app, and use it, without having to completely embed it into their own code (which reduces maintenance hassles for others if you make a change to the gem later).
I did a bunch of looking around yesterday, to figure out how to build a ruby gem. The process is pretty simple. It’s worth a try if you’ve got a chunk of code that solves a problem you think other people are likely also trying to solve.
quickleft has a great writeup, and an associated video, to walk you through the process: