summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/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 f3941672cb..8330787d22 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -152,7 +152,9 @@ module SyncDefaultGems
chmod("+x", "spec/bin/parallel_rspec")
%w[dev_gems test_gems rubocop_gems standard_gems].each do |gemfile|
- cp_r("#{upstream}/tool/bundler/#{gemfile}.rb", "tool/bundler")
+ ["rb.lock", "rb"].each do |ext|
+ cp_r("#{upstream}/tool/bundler/#{gemfile}.#{ext}", "tool/bundler")
+ end
end
rm_rf Dir.glob("spec/bundler/support/artifice/{vcr_cassettes,used_cassettes.txt}")
rm_rf Dir.glob("lib/{bundler,rubygems}/**/{COPYING,LICENSE,README}{,.{md,txt,rdoc}}")