method
description
v2_2_9 -
Show latest stable
-
0 notes -
Class: BuildCommand
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
description()
public
Hide source
# File lib/rubygems/commands/build_command.rb, line 18 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