summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Celis <stephen@stephencelis.com>2011-09-08 13:20:20 -0700
committerStephen Celis <stephen@stephencelis.com>2011-09-08 13:20:20 -0700
commit4925f523882a0450347a9b87e9b4a456066baaaa (patch)
tree5feb352817c9afdbe41e4823c592ea8f10c95ce4
parentb2d6caf2ccc79a4996db9aedd617ae42be6b3632 (diff)
downloadbundler-4925f523882a0450347a9b87e9b4a456066baaaa.tar.gz
Fix "warning: assigned but unused variable - reqs".
-rw-r--r--lib/bundler/rubygems_integration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index 1c0c55050a..418b1e9518 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -205,7 +205,7 @@ module Bundler
gem_class = (class << Gem ; self ; end)
gem_class.send(:remove_method, :bin_path)
gem_class.send(:define_method, :bin_path) do |name, *args|
- exec_name, *reqs = args
+ exec_name, = args
if exec_name == 'bundle'
return ENV['BUNDLE_BIN_PATH']