diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-28 14:19:09 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-11-28 14:19:09 -0600 |
commit | e584033855c5fde0e2746fbcd5ede3257ba7d098 (patch) | |
tree | 1711951a73100af95ffa67117b5b757ae843983d /lib | |
parent | 1a960d35e78945fa41da006894d137680fb178cc (diff) | |
download | bundler-e584033855c5fde0e2746fbcd5ede3257ba7d098.tar.gz |
[Fetcher::CompactIndex] Don’t run in parallel on RBX
This is a temporary measure until we can ensure everything is properly synchronized
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/fetcher/compact_index.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher/compact_index.rb b/lib/bundler/fetcher/compact_index.rb index 38105a3f8f..5d703a3a78 100644 --- a/lib/bundler/fetcher/compact_index.rb +++ b/lib/bundler/fetcher/compact_index.rb @@ -95,7 +95,7 @@ module Bundler def bundle_worker(func = nil) @bundle_worker ||= begin worker_name = "Compact Index (#{display_uri.host})" - Bundler::Worker.new(25, worker_name, func) + Bundler::Worker.new(Bundler.current_ruby.rbx? ? 1 : 25, worker_name, func) end @bundle_worker.tap do |worker| worker.instance_variable_set(:@func, func) if func |