mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
parent
e4d0cca24a
commit
dd5b918cbe
Notes:
git
2020-06-05 07:33:44 +09:00
2 changed files with 4 additions and 2 deletions
|
@ -555,7 +555,7 @@ By default, this RubyGems will install gem as:
|
|||
# for cleanup old bundler files
|
||||
def template_files_in(dir)
|
||||
Dir.chdir dir do
|
||||
Dir[File.join('templates', '**', '{*,.*}')].
|
||||
Dir.glob(File.join('templates', '**', '*'), File::FNM_DOTMATCH).
|
||||
select{|f| !File.directory?(f)}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue