This is a simple example on how to create a gem and publish it on rubygems.org [flavored with bundler]
Francesco 'makevoid' Canessa
gem "mygem", "~> 0.0.1"