summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-11-06 11:39:01 -0500
committerAndre Arko <andre@arko.net>2013-11-06 11:39:01 -0500
commitb1e7b7b8954620c8392a81d78a9687172d32d162 (patch)
treef904f1e32c1f3a792d9fa39285920bce0e6e1344
parent62ac553118326740aac1540f46b8d70f6e468ff2 (diff)
downloadbundler-parallel_threads.tar.gz
assignment warning removalparallel_threads
-rw-r--r--lib/bundler/installer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index bf542ba749..3c2586500a 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -206,8 +206,8 @@ module Bundler
def generate_standalone_bundler_executable_stubs(spec)
# double-assignment to avoid warnings about variables that will be used by ERB
- bin_path = Bundler.bin_path
- template = File.read(File.expand_path('../templates/Executable.standalone', __FILE__))
+ bin_path = bin_path = Bundler.bin_path
+ template = template = File.read(File.expand_path('../templates/Executable.standalone', __FILE__))
ruby_command = ruby_command = Thor::Util.ruby_command
spec.executables.each do |executable|