method
description
ruby latest stable - Class:
Gem::Commands::BuildCommand
description()public
No documentation available.
# File lib/rubygems/commands/build_command.rb, line 19
def description # :nodoc:
The build command allows you to create a gem from a ruby gemspec.The best way to build a gem is to use a Rakefile and the Gem::PackageTaskwhich ships with RubyGems.The gemspec can either be created by hand or extracted from an existing gemwith gem spec: $ gem unpack my_gem-1.0.gem Unpacked gem: '.../my_gem-1.0' $ gem spec my_gem-1.0.gem --ruby > my_gem-1.0/my_gem-1.0.gemspec $ cd my_gem-1.0 [edit gem contents] $ gem build my_gem-1.0.gemspec
end