mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.3.1 r1909.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17358af75b
commit
b61d8b6045
75 changed files with 424 additions and 404 deletions
|
@ -43,7 +43,7 @@ class Gem::Commands::UnpackCommand < Gem::Command
|
|||
basename = File.basename(path).sub(/\.gem$/, '')
|
||||
target_dir = File.expand_path File.join(options[:target], basename)
|
||||
FileUtils.mkdir_p target_dir
|
||||
Gem::Installer.new(path).unpack target_dir
|
||||
Gem::Installer.new(path, :unpack => true).unpack target_dir
|
||||
say "Unpacked gem: '#{target_dir}'"
|
||||
else
|
||||
alert_error "Gem '#{gemname}' not installed."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue