summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-09-28 13:27:41 -0700
committerAndre Arko <andre@arko.net>2013-09-28 13:27:41 -0700
commit8b1d376ea586423bc0d234d1f0bc6205b6bd0a90 (patch)
tree7864a54fcff034e41a86c52b28b83931019f4b57
parent8b8bfd3961bc30075e49f6b90c0f4ad760691275 (diff)
downloadbundler-user_agent.tar.gz
just send the command name in the user agentuser_agent
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 75aa2741c2..cc66e9b796 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -95,7 +95,7 @@ module Bundler
agent += " rubygems/#{Gem::VERSION}"
agent += " ruby/#{ruby.version}"
agent += " (#{ruby.host})"
- agent += " command/#{ARGV.join(" ")}"
+ agent += " command/#{ARGV.first}"
if ruby.engine != "ruby"
# engine_version raises on unknown engines