diff --git a/spec/bundler/support/rubygems_version_manager.rb b/spec/bundler/support/rubygems_version_manager.rb index 9d4a401fe7..c3d24fc1cd 100644 --- a/spec/bundler/support/rubygems_version_manager.rb +++ b/spec/bundler/support/rubygems_version_manager.rb @@ -75,7 +75,6 @@ private def switch_local_copy_if_needed return unless local_copy_switch_needed? - sys_exec("git remote update", :dir => local_copy_path) sys_exec("git checkout #{target_tag}", :dir => local_copy_path) ENV["RGV"] = local_copy_path.to_s