diff options
author | Hemant Kumar <gethemant@gmail.com> | 2013-09-03 09:46:11 +0530 |
---|---|---|
committer | Hemant Kumar <gethemant@gmail.com> | 2013-09-03 09:46:11 +0530 |
commit | d4fb9f9895aeba5b588565ba83e4774ac861bcf7 (patch) | |
tree | 89f13851ac43e64f2d2f5a0c1388922b2f8a607f | |
parent | ef66cdaedb041c7d4845ff5cfeed058e9e0822a8 (diff) | |
download | bundler-fix-worker-index-jruby.tar.gz |
Fix bug with worker index not being passed on Jruby or Windowsfix-worker-index-jruby
-rw-r--r-- | lib/bundler/parallel_workers/thread_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/parallel_workers/thread_worker.rb b/lib/bundler/parallel_workers/thread_worker.rb index eed69dbd3e..05339221e3 100644 --- a/lib/bundler/parallel_workers/thread_worker.rb +++ b/lib/bundler/parallel_workers/thread_worker.rb @@ -16,7 +16,7 @@ module Bundler loop do obj = @request_queue.deq break if obj.equal? POISON - @response_queue.enq func.call(obj) + @response_queue.enq func.call(obj, i) end end end |