1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Sync bundler & rubygems at the same time

This commit is contained in:
David Rodríguez 2021-05-10 11:58:13 +02:00 committed by Hiroshi SHIBATA
parent 7dccc4ef8a
commit 15160e9b4f
Notes: git 2021-05-11 11:30:05 +09:00

View file

@ -5,7 +5,6 @@ include FileUtils
REPOSITORIES = {
rubygems: 'rubygems/rubygems',
bundler: 'rubygems/rubygems',
rdoc: 'ruby/rdoc',
reline: 'ruby/reline',
json: 'flori/json',
@ -94,7 +93,6 @@ def sync_default_gems(gem)
rm_rf(%w[lib/rubygems lib/rubygems.rb test/rubygems])
cp_r(Dir.glob("#{upstream}/lib/rubygems*"), "lib")
cp_r("#{upstream}/test/rubygems", "test")
when "bundler"
rm_rf(%w[lib/bundler lib/bundler.rb libexec/bundler libexec/bundle spec/bundler tool/bundler/*])
cp_r(Dir.glob("#{upstream}/bundler/lib/bundler*"), "lib")
cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec")