summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-28 16:13:45 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-28 16:13:45 +0900
commit83662f1d9968204a43adf4a94d6872967b65f712 (patch)
treea5d2332e9c929d9c56ec7ea091b25e5057b0d5af /tool/sync_default_gems.rb
parent6bca410ae8b16238d02c868ce8fa1af13a5c4460 (diff)
Removed needless rake and bundler files for rdoc
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5c2ffc649e..a04d8ccea3 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -128,6 +128,7 @@ def sync_default_gems(gem)
cp_r("#{upstream}/#{dst}", dst)
end
`git checkout lib/rdoc/.document`
+ rm_rf(%w[lib/rdoc/Gemfile lib/rdoc/Rakefile])
when "reline"
rm_rf(%w[lib/reline lib/reline.rb test/reline])
cp_r(Dir.glob("#{upstream}/lib/reline*"), "lib")