mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.3.0 r1891
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
788001a9c8
commit
d478c7a734
60 changed files with 2174 additions and 1049 deletions
|
@ -38,6 +38,19 @@ class Gem::Commands::InstallCommand < Gem::Command
|
|||
"--no-test --install-dir #{Gem.dir}"
|
||||
end
|
||||
|
||||
def description # :nodoc:
|
||||
<<-EOF
|
||||
The install command installs local or remote gem into a gem repository.
|
||||
|
||||
For gems with executables ruby installs a wrapper file into the executable
|
||||
directory by deault. This can be overridden with the --no-wrappers option.
|
||||
The wrapper allows you to choose among alternate gem versions using _version_.
|
||||
|
||||
For example `rake _0.7.3_ --version` will run rake version 0.7.3 if a newer
|
||||
version is also installed.
|
||||
EOF
|
||||
end
|
||||
|
||||
def usage # :nodoc:
|
||||
"#{program_name} GEMNAME [GEMNAME ...] [options] -- --build-flags"
|
||||
end
|
||||
|
@ -106,6 +119,8 @@ class Gem::Commands::InstallCommand < Gem::Command
|
|||
installed_gems.each do |gem|
|
||||
Gem::DocManager.new(gem, options[:rdoc_args]).generate_ri
|
||||
end
|
||||
|
||||
Gem::DocManager.update_ri_cache
|
||||
end
|
||||
|
||||
if options[:generate_rdoc] then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue