Modern Gem Crafting in RubyMay 25, 2013
Here is the most modern approach to gem crafting with Bundler:
bundle gem your_gem
edit your_gem.gemspec and add description, summary and optional website. Add required gems such as rspec to the Gemfile.
Write good tests. Add your code to lib/your_gem.rb. When you're finished its time to build and push to rubygems.org: