mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
53b548f438
commit
d59b92221d
Notes:
git
2020-05-08 14:14:21 +09:00
1 changed files with 2 additions and 3 deletions
|
@ -329,7 +329,7 @@ By default, this RubyGems will install gem as:
|
|||
say "Installing #{tool}" if @verbose
|
||||
|
||||
lib_files = rb_files_in path
|
||||
lib_files.concat(template_files) if tool == 'Bundler'
|
||||
lib_files.concat(bundler_template_files) if tool == 'Bundler'
|
||||
|
||||
pem_files = pem_files_in path
|
||||
|
||||
|
@ -503,8 +503,7 @@ By default, this RubyGems will install gem as:
|
|||
end
|
||||
end
|
||||
|
||||
# for installation of bundler as default gems
|
||||
def template_files
|
||||
def bundler_template_files
|
||||
Dir.chdir "bundler/lib" do
|
||||
(Dir[File.join('bundler', 'templates', '**', '{*,.*}')]).
|
||||
select{|f| !File.directory?(f)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue