summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tool/sync_default_gems.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 8663282f54..b4e11d9c04 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -297,6 +297,14 @@ def sync_default_gems(gem)
cp_r("#{upstream}/test/test_syslog.rb", "test")
cp_r("#{upstream}/syslog.gemspec", "ext/syslog")
`git checkout ext/syslog/depend`
+ when "bigdecimal"
+ rm_rf(%w[ext/bigdecimal test/bigdecimal])
+ cp_r("#{upstream}/ext/bigdecimal", "ext")
+ cp_r("#{upstream}/sample", "ext/bigdecimal")
+ cp_r("#{upstream}/lib", "ext/bigdecimal")
+ cp_r("#{upstream}/test/bigdecimal", "test")
+ cp_r("#{upstream}/bigdecimal.gemspec", "ext/bigdecimal")
+ `git checkout ext/bigdecimal/depend`
else
sync_lib gem
end