mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
[rubygems/rubygems] Move default specifications dir definition out of BasicSpecification.
This was never the right place. The method got there just by evolution,
not by design. Move it within default methods, where it suits better.
Since this method is presumably used just internally, it should be safe
to deprecate it and remove later.
0c0dd9458a
This commit is contained in:
parent
d1806bd8da
commit
a3b784b3a0
8 changed files with 27 additions and 13 deletions
|
@ -382,7 +382,7 @@ By default, this RubyGems will install gem as:
|
|||
end
|
||||
|
||||
def install_default_bundler_gem(bin_dir)
|
||||
specs_dir = Gem::Specification.default_specifications_dir
|
||||
specs_dir = Gem.default_specifications_dir
|
||||
specs_dir = File.join(options[:destdir], specs_dir) unless Gem.win_platform?
|
||||
mkdir_p specs_dir, :mode => 0755
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue