summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/push_command.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/commands/push_command.rb b/lib/rubygems/commands/push_command.rb
index bdb92cbb42..0c121cb553 100644
--- a/lib/rubygems/commands/push_command.rb
+++ b/lib/rubygems/commands/push_command.rb
@@ -72,10 +72,6 @@ The push command will use ~/.gem/credentials to authenticate to a server, but yo
gem_data = Gem::Package.new(name)
- unless @host
- @host = gem_data.spec.metadata['default_gem_server']
- end
-
push_host = nil
if gem_data.spec.metadata.has_key?('allowed_push_host')