Skip to content

Instantly share code, notes, and snippets.

@jondot
Created October 29, 2010 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jondot/653770 to your computer and use it in GitHub Desktop.
Save jondot/653770 to your computer and use it in GitHub Desktop.
Rakefile
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "test_gem"
gem.summary = %Q{one-line summary of your gem}
gem.description = %Q{longer description of your gem}
gem.email = "jondotan@gmail.com"
gem.homepage = "http://github.com/jondot/test_gem"
gem.authors = ["Dotan J. Nahum"]
gem.add_dependency "test_gem_contracts", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment