Method: Gem::Commands::BuildCommand#description
- Defined in:
- lib/rubygems/commands/build_command.rb
#description ⇒ Object
:nodoc:
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/rubygems/commands/build_command.rb', line 34 def description # :nodoc: "The build command allows you to create a gem from a ruby gemspec.\n\nThe best way to build a gem is to use a Rakefile and the Gem::PackageTask\nwhich ships with RubyGems.\n\nThe gemspec can either be created by hand or extracted from an existing gem\nwith gem spec:\n\n$ gem unpack my_gem-1.0.gem\nUnpacked gem: '.../my_gem-1.0'\n$ gem spec my_gem-1.0.gem --ruby > my_gem-1.0/my_gem-1.0.gemspec\n$ cd my_gem-1.0\n[edit gem contents]\n$ gem build my_gem-1.0.gemspec\n\nGems can be saved to a specified filename with the output option:\n\n$ gem build my_gem-1.0.gemspec --output=release.gem\n\n EOF\nend\n" |