Kernel.load File.expand_path("../lib/ben/version.rb", __FILE__) Gem::Specification.new do |s| s.name = "ben" s.version = Ben::VERSION s.summary = "hello world" s.description = <<-EOF hello world EOF s.author = "Guten" s.email = "ywzhaifei@gmail.com" s.homepage = "http://github.com/GutenYe/ben" s.rubyforge_project = "xx" s.files = `git ls-files`.split("\n") s.executables = ["ben"] #s.add_dependency "x" end