$:.unshift Dir.pwd require File.expand_path("./lib/<%= @options[:gem_file_name] %>") Gem::Specification.new do |s| s.name = "<%= @options[:name] %>" s.version = <%= @options[:gem_class_name] %>::VERSION s.authors = ["<%= @options[:author] %>"] s.email = ["<%= @options[:email] %>"] s.homepage = "<%= @options[:homepage] %>" s.summary = "<%= @options[:summary] %>" s.description = "<%= @options[:description] %>" <% if @options[:executable] %> s.executables = ["<%= @options[:gem_file_name] %>"] <% end %> s.files = Dir["{lib,test}/**/*", "[A-Z]*", "init.rb"] - ["Gemfile.lock"] s.require_path = 'lib' # s.add_dependency "another_gem", "0.1" s.add_development_dependency 'minitest', '>2.0' s.rubyforge_project = "<%= @options[:gem_file_name] %>" s.platform = Gem::Platform::RUBY end