diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 9fca49ad170d2d..808a9de51e63ff 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -197,7 +197,7 @@ def sync_default_gems(gem) cp_r("#{upstream}/lib", "ext/json") cp_r("#{upstream}/json.gemspec", "ext/json") rm_rf(%w[ext/json/lib/json/ext ext/json/lib/json/pure.rb ext/json/lib/json/pure]) - `git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend ext/json/depend` + `git checkout ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend ext/json/depend` when "psych" rm_rf(%w[ext/psych test/psych]) cp_r("#{upstream}/ext/psych", "ext")