mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert r42938 "* lib/rubygems: Update to RubyGems 2.1.3"
It breaks build.
20130913
T200302Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2614d9ba2f
commit
269503b544
110 changed files with 4928 additions and 3479 deletions
|
@ -34,6 +34,24 @@ class Gem::Commands::UnpackCommand < Gem::Command
|
|||
"--version '#{Gem::Requirement.default}'"
|
||||
end
|
||||
|
||||
def description
|
||||
<<-EOF
|
||||
The unpack command allows you to examine the contents of a gem or modify
|
||||
them to help diagnose a bug.
|
||||
|
||||
You can add the contents of the unpacked gem to the load path using the
|
||||
RUBYLIB environment variable or -I:
|
||||
|
||||
$ gem unpack my_gem
|
||||
Unpacked gem: '.../my_gem-1.0'
|
||||
[edit my_gem-1.0/lib/my_gem.rb]
|
||||
$ ruby -Imy_gem-1.0/lib -S other_program
|
||||
|
||||
You can repackage an unpacked gem using the build command. See the build
|
||||
command help for an example.
|
||||
EOF
|
||||
end
|
||||
|
||||
def usage # :nodoc:
|
||||
"#{program_name} GEMNAME"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue