summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5d428c5d37..bb4fcdd2cc 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -94,10 +94,12 @@ def sync_default_gems(gem)
`cp -r ../../bundler/bundler/man/*.{1,5,1\.txt,5\.txt,ronn} ./man`
`rm -rf spec/bundler/support/artifice/vcr_cassettes`
when "rdoc"
- `rm -rf lib/rdoc* test/rdoc`
+ `rm -rf lib/rdoc* test/rdoc libexec/rdoc libexec/ri`
`cp -rf ../rdoc/lib/rdoc* ./lib`
`cp -rf ../rdoc/test test/rdoc`
`cp ../rdoc/rdoc.gemspec ./lib/rdoc`
+ `cp -rf ../rdoc/exe/rdoc ./libexec`
+ `cp -rf ../rdoc/exe/ri ./libexec`
`rm -f lib/rdoc/markdown.kpeg lib/rdoc/markdown/literals.kpeg lib/rdoc/rd/block_parser.ry lib/rdoc/rd/inline_parser.ry`
`git checkout lib/rdoc/.document`
when "json"