summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-15 12:45:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-15 15:36:15 +0900
commit0d9496f924d36534bd524791554d49dc0026b0e0 (patch)
treecb5ab4b911562b250a4b44ee1c6fee2875a3ade7 /tool/sync_default_gems.rb
parentfd978621ccbc9519afc05ad031ba2518e9a6f379 (diff)
Restore bundler.gemspec from ruby/ruby repository with sync_default_gems.rb
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4383
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 9861a896d0..130ed4a9a1 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -101,6 +101,7 @@ def sync_default_gems(gem)
cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler")
cp_r("#{upstream}/bundler/spec", "spec/bundler")
cp_r(Dir.glob("#{upstream}/bundler/man/*.{1,5,1\.txt,5\.txt,ronn}"), "man")
+ `git checkout lib/bundler/bundler.gemspec`
rm_rf(%w[spec/bundler/support/artifice/vcr_cassettes])
when "rdoc"
rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri])