Download as PDF, PPTX
- 1 / 17
- 2 / 17
- 3 / 17
- 4 / 17
- 5 / 17
- 6 / 17
- 7 / 17
- 8 / 17
- 9 / 17
- 10 / 17
- 11 / 17
- 12 / 17
- 13 / 17
- 14 / 17
- 15 / 17
- 16 / 17
- 17 / 17








![Description
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "an-awesome-gem"
gem.summary = %Q{TODO: one-line summary of your gem}
gem.description = %Q{TODO: longer description of your gem}
gem.email = "nico@hagenburger.net"
gem.homepage = "http://github.com/hagenburger/an-awesome-gem"
gem.authors = ["Nico Hagenburger"]
gem.add_development_dependency "rspec", ">= 1.2.9"
# gem is a Gem::Specification... see http://www.rubygems.org/
read/chapter/20 for additional settings
end
an-awesome-gem/Rakefile](https://image.slidesharecdn.com/create-your-own-gem-with-github-jeweler-rubygems-100702060425-phpapp01/85/Create-your-own-gem-with-github-jeweler-rubygems-9-320.jpg)


![Local Install
[sudo] rake install
Be careful:
- Only commited files will be installed
- Once commited but changed files will be
installed with current not commited
version](https://image.slidesharecdn.com/create-your-own-gem-with-github-jeweler-rubygems-100702060425-phpapp01/85/Create-your-own-gem-with-github-jeweler-rubygems-12-320.jpg)






This document provides instructions for creating your own Ruby gem with GitHub, Jeweler, and RubyGems. It outlines setting up a GitHub account and RubyGems account, using Jeweler to generate the gem scaffolding and Rakefile, writing a description, committing to a GitHub repository, locally installing and releasing the gem to RubyGems.org with the rake release task. It concludes with reminders to add documentation and tests to the new gem.








![Description
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "an-awesome-gem"
gem.summary = %Q{TODO: one-line summary of your gem}
gem.description = %Q{TODO: longer description of your gem}
gem.email = "nico@hagenburger.net"
gem.homepage = "http://github.com/hagenburger/an-awesome-gem"
gem.authors = ["Nico Hagenburger"]
gem.add_development_dependency "rspec", ">= 1.2.9"
# gem is a Gem::Specification... see http://www.rubygems.org/
read/chapter/20 for additional settings
end
an-awesome-gem/Rakefile](https://image.slidesharecdn.com/create-your-own-gem-with-github-jeweler-rubygems-100702060425-phpapp01/85/Create-your-own-gem-with-github-jeweler-rubygems-9-320.jpg)


![Local Install
[sudo] rake install
Be careful:
- Only commited files will be installed
- Once commited but changed files will be
installed with current not commited
version](https://image.slidesharecdn.com/create-your-own-gem-with-github-jeweler-rubygems-100702060425-phpapp01/85/Create-your-own-gem-with-github-jeweler-rubygems-12-320.jpg)




