diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb index dd1dc096f5..973884dc37 100644 --- a/lib/bundler/gem_helper.rb +++ b/lib/bundler/gem_helper.rb @@ -160,9 +160,7 @@ module Bundler def perform_git_push(options = "") cmd = "git push #{options}" - out, status = sh_with_status(cmd.shellsplit) - return if status.success? - raise "Couldn't git push. `#{cmd}' failed with the following output:\n\n#{out}\n" + sh(cmd.shellsplit) end def already_tagged?