summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 07deee6c64..329f0c1bd0 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -267,8 +267,10 @@ def sync_default_gems(gem)
sync_lib "net-smtp"
mv "lib/net-smtp.gemspec", "lib/net/smtp"
when "readline-ext"
- sync_lib "readline-ext"
- mv "lib/readline-ext.gemspec", "ext/readline"
+ rm_rf(%w[ext/readline test/readline])
+ cp_r("#{upstream}/ext/readline", "ext")
+ cp_r("#{upstream}/test/readline", "test")
+ cp_r("#{upstream}/readline-ext.gemspec", "ext/readline")
when "did_you_mean"
rm_rf(%w[lib/did_you_mean* test/did_you_mean])
cp_r(Dir.glob("#{upstream}/lib/did_you_mean*"), "lib")